From: David Howells Date: Sat, 13 Oct 2012 08:58:38 +0000 (+0100) Subject: UAPI: Unexport part of linux/ppp-comp.h X-Git-Tag: android-x86-4.4-r1~2096^2~3 X-Git-Url: http://git.osdn.net/view?a=commitdiff_plain;h=8e4627dd865fca4b7e7a46128cd2659e64cdebb0;p=android-x86%2Fkernel.git 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 cc: Paul Mackerras cc: David Miller --- 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. */