[PATCH 1/2] UAPI: Unexport part of linux/ppp-comp.h

From: David Howells
Date: Sat Oct 13 2012 - 05:08:08 EST


Unexport part of linux/ppp-comp.h as userspace can't make use of that bit.

Signed-off-by: David Howells <dhowells@xxxxxxxxxx>
cc: Paul Mackerras <paulus@xxxxxxxxx>
cc: David Miller <davem@xxxxxxxxxxxxx>
---

include/linux/ppp-comp.h | 4 ++++
1 file changed, 4 insertions(+)

diff --git a/include/linux/ppp-comp.h b/include/linux/ppp-comp.h
index e53ff65..b7dc06f 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.
*/

--
To unsubscribe from this list: send the line "unsubscribe linux-kernel" in
the body of a message to majordomo@xxxxxxxxxxxxxxx
More majordomo info at http://vger.kernel.org/majordomo-info.html
Please read the FAQ at http://www.tux.org/lkml/