From: David Howells <dhowells@redhat.com>
To: unlisted-recipients:; (no To-header on input)
Cc: linux-kernel@vger.kernel.org, David Howells <dhowells@redhat.com>,
Paul Mackerras <paulus@samba.org>,
David Miller <davem@davemloft.net>
Subject: [PATCH 1/2] UAPI: Unexport part of linux/ppp-comp.h
Date: Sat, 13 Oct 2012 10:08:10 +0100 [thread overview]
Message-ID: <20121013090809.28574.46706.stgit@warthog.procyon.org.uk> (raw)
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.
*/
next reply other threads:[~2012-10-13 9:08 UTC|newest]
Thread overview: 3+ messages / expand[flat|nested] mbox.gz Atom feed top
2012-10-13 9:08 David Howells [this message]
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
Reply instructions:
You may reply publicly to this message via plain-text email
using any one of the following methods:
* Save the following mbox file, import it into your mail client,
and reply-to-all from there: mbox
Avoid top-posting and favor interleaved quoting:
https://en.wikipedia.org/wiki/Posting_style#Interleaved_style
* Reply using the --to, --cc, and --in-reply-to
switches of git-send-email(1):
git send-email \
--in-reply-to=20121013090809.28574.46706.stgit@warthog.procyon.org.uk \
--to=dhowells@redhat.com \
--cc=davem@davemloft.net \
--cc=linux-kernel@vger.kernel.org \
--cc=paulus@samba.org \
/path/to/YOUR_REPLY
https://kernel.org/pub/software/scm/git/docs/git-send-email.html
* If your mail client supports setting the In-Reply-To header
via mailto: links, try the mailto: link
Be sure your reply has a Subject: header at the top and a blank line
before the message body.
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®