mirror of https://lore.kernel.org/lkml/
 help / color / mirror / Atom feed
* [PATCH 1/2] UAPI: Unexport part of linux/ppp-comp.h
@ 2012-10-13  9:08 David Howells
  2012-10-13  9:08 ` [PATCH 2/2] UAPI: Unexport linux/blk_types.h David Howells
  2012-10-13 21:47 ` [PATCH 1/2] UAPI: Unexport part of linux/ppp-comp.h David Miller
  0 siblings, 2 replies; 3+ messages in thread
From: David Howells @ 2012-10-13  9:08 UTC (permalink / raw)
  Cc: linux-kernel, David Howells, Paul Mackerras, David Miller

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>
---

 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.
  */


^ permalink raw reply	[flat|nested] 3+ messages in thread

end of thread, other threads:[~2012-10-13 21:47 UTC | newest]

Thread overview: 3+ messages (download: mbox.gz / follow: Atom feed)
-- links below jump to the message on this page --
2012-10-13  9:08 [PATCH 1/2] UAPI: Unexport part of linux/ppp-comp.h David Howells
2012-10-13  9:08 ` [PATCH 2/2] UAPI: Unexport linux/blk_types.h David Howells
2012-10-13 21:47 ` [PATCH 1/2] UAPI: Unexport part of linux/ppp-comp.h David Miller

This is a public inbox, see mirroring instructions
for how to clone and mirror all data and code used for this inbox

all inboxes | Powered by JetHome®