summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-13 10:58:38 +0200
committerDavid Howells <dhowells@redhat.com>2012-10-13 10:58:38 +0200
commit8e4627dd865fca4b7e7a46128cd2659e64cdebb0 (patch)
tree7e5fc2292b45b33e6c100e770ff3123e4657d358
parentMerge branch 'for-linus' of git://git.kernel.org/pub/scm/linux/kernel/git/jmo... (diff)
downloadlinux-8e4627dd865fca4b7e7a46128cd2659e64cdebb0.tar.xz
linux-8e4627dd865fca4b7e7a46128cd2659e64cdebb0.zip
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 e53ff65935dd..b7dc06f7f1d1 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.
*/