aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-13 09:58:38 +0100
committerDavid Howells <dhowells@redhat.com>2012-10-13 09:58:38 +0100
commit8e4627dd865fca4b7e7a46128cd2659e64cdebb0 (patch)
tree7e5fc2292b45b33e6c100e770ff3123e4657d358
parent4d7127dace8cf4b05eb7c8c8531fc204fbb195f4 (diff)
UAPI: Unexport part of linux/ppp-comp.h
Unexport part of linux/ppp-comp.h as userspace can't make use of that bit. Signed-off-by: David Howells <dhowells@redhat.com> cc: Paul Mackerras <paulus@samba.org> cc: David Miller <davem@davemloft.net>
-rw-r--r--include/linux/ppp-comp.h4
1 files changed, 4 insertions, 0 deletions
diff --git a/include/linux/ppp-comp.h b/include/linux/ppp-comp.h
index e53ff65935d..b7dc06f7f1d 100644
--- a/include/linux/ppp-comp.h
+++ b/include/linux/ppp-comp.h
@@ -10,6 +10,8 @@
#ifndef _NET_PPP_COMP_H
#define _NET_PPP_COMP_H
+#ifdef __KERNEL__
+
struct module;
/*
@@ -98,6 +100,8 @@ struct compressor {
#define DECOMP_ERROR -1 /* error detected before decomp. */
#define DECOMP_FATALERROR -2 /* error detected after decomp. */
+#endif /* __KERNEL__ */
+
/*
* CCP codes.
*/