aboutsummaryrefslogtreecommitdiffstats
path: root/net/wanrouter
diff options
context:
space:
mode:
authorRandy Dunlap <rdunlap@xenotime.net>2006-01-11 15:17:47 -0500
committerLinus Torvalds <torvalds@g5.osdl.org>2006-01-11 21:42:14 -0500
commit4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b (patch)
treed2aaf0b5986b03e6129ed3ccd65b9f706cd59c7f /net/wanrouter
parent16f7e0fe2ecc30f30652e8185e1772cdebe39109 (diff)
[PATCH] capable/capability.h (net/)
net: Use <linux/capability.h> where capable() is used. Signed-off-by: Randy Dunlap <rdunlap@xenotime.net> Signed-off-by: Andrew Morton <akpm@osdl.org> Signed-off-by: Linus Torvalds <torvalds@osdl.org>
Diffstat (limited to 'net/wanrouter')
-rw-r--r--net/wanrouter/af_wanpipe.c1
-rw-r--r--net/wanrouter/wanmain.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/net/wanrouter/af_wanpipe.c b/net/wanrouter/af_wanpipe.c
index 7a43ae4721ed..8b9bf4a763b5 100644
--- a/net/wanrouter/af_wanpipe.c
+++ b/net/wanrouter/af_wanpipe.c
@@ -36,6 +36,7 @@
36#include <linux/types.h> 36#include <linux/types.h>
37#include <linux/sched.h> 37#include <linux/sched.h>
38#include <linux/mm.h> 38#include <linux/mm.h>
39#include <linux/capability.h>
39#include <linux/fcntl.h> 40#include <linux/fcntl.h>
40#include <linux/socket.h> 41#include <linux/socket.h>
41#include <linux/in.h> 42#include <linux/in.h>
diff --git a/net/wanrouter/wanmain.c b/net/wanrouter/wanmain.c
index bcf7b3faa76a..c34833dc7cc1 100644
--- a/net/wanrouter/wanmain.c
+++ b/net/wanrouter/wanmain.c
@@ -44,6 +44,7 @@
44 44
45#include <linux/config.h> 45#include <linux/config.h>
46#include <linux/stddef.h> /* offsetof(), etc. */ 46#include <linux/stddef.h> /* offsetof(), etc. */
47#include <linux/capability.h>
47#include <linux/errno.h> /* return codes */ 48#include <linux/errno.h> /* return codes */
48#include <linux/kernel.h> 49#include <linux/kernel.h>
49#include <linux/init.h> 50#include <linux/init.h>