aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorDavid Howells <dhowells@redhat.com>2012-10-13 04:58:38 -0400
committerDavid Howells <dhowells@redhat.com>2012-10-13 04:58:38 -0400
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 e53ff65935dd..b7dc06f7f1d1 100644
--- a/include/linux/ppp-comp.h
+++ b/include/linux/ppp-comp.h
@@ -10,6 +10,8 @@
10#ifndef _NET_PPP_COMP_H 10#ifndef _NET_PPP_COMP_H
11#define _NET_PPP_COMP_H 11#define _NET_PPP_COMP_H
12 12
13#ifdef __KERNEL__
14
13struct module; 15struct module;
14 16
15/* 17/*
@@ -98,6 +100,8 @@ struct compressor {
98#define DECOMP_ERROR -1 /* error detected before decomp. */ 100#define DECOMP_ERROR -1 /* error detected before decomp. */
99#define DECOMP_FATALERROR -2 /* error detected after decomp. */ 101#define DECOMP_FATALERROR -2 /* error detected after decomp. */
100 102
103#endif /* __KERNEL__ */
104
101/* 105/*
102 * CCP codes. 106 * CCP codes.
103 */ 107 */