projects
/
GitHub
/
LineageOS
/
G12
/
android_kernel_amlogic_linux-4.9.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
4d7127d
)
UAPI: Unexport part of linux/ppp-comp.h
author
David Howells
<dhowells@redhat.com>
Sat, 13 Oct 2012 08:58:38 +0000
(09:58 +0100)
committer
David Howells
<dhowells@redhat.com>
Sat, 13 Oct 2012 08:58:38 +0000
(09:58 +0100)
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
patch
|
blob
|
blame
|
history
diff --git
a/include/linux/ppp-comp.h
b/include/linux/ppp-comp.h
index e53ff65935ddf9d5e9737005cea66a39c477d923..b7dc06f7f1d197d238c2a9824f465c694985e7b3 100644
(file)
--- 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.
*/