From 4fc268d24ceb9f4150777c1b5b2b8e6214e56b2b Mon Sep 17 00:00:00 2001 From: Randy Dunlap Date: Wed, 11 Jan 2006 12:17:47 -0800 Subject: [PATCH] capable/capability.h (net/) net: Use where capable() is used. Signed-off-by: Randy Dunlap Signed-off-by: Andrew Morton Signed-off-by: Linus Torvalds --- net/core/dev.c | 1 + net/core/dv.c | 1 + net/core/ethtool.c | 1 + net/core/net-sysfs.c | 1 + net/core/pktgen.c | 2 +- net/core/scm.c | 1 + net/core/sock.c | 1 + 7 files changed, 7 insertions(+), 1 deletion(-) (limited to 'net/core') diff --git a/net/core/dev.c b/net/core/dev.c index bf66b11..fd070a0 100644 --- a/net/core/dev.c +++ b/net/core/dev.c @@ -75,6 +75,7 @@ #include #include #include +#include #include #include #include diff --git a/net/core/dv.c b/net/core/dv.c index 1516a90..cf58140 100644 --- a/net/core/dv.c +++ b/net/core/dv.c @@ -24,6 +24,7 @@ #include #include #include +#include #include #include #include diff --git a/net/core/ethtool.c b/net/core/ethtool.c index 0350586..e6f7610 100644 --- a/net/core/ethtool.c +++ b/net/core/ethtool.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include diff --git a/net/core/net-sysfs.c b/net/core/net-sysfs.c index 58adaf2..e8b2acb 100644 --- a/net/core/net-sysfs.c +++ b/net/core/net-sysfs.c @@ -9,6 +9,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include diff --git a/net/core/pktgen.c b/net/core/pktgen.c index 631056d..3906312 100644 --- a/net/core/pktgen.c +++ b/net/core/pktgen.c @@ -116,13 +116,13 @@ #include #include #include -#include #include #include #include #include #include #include +#include #include #include #include diff --git a/net/core/scm.c b/net/core/scm.c index e887d19..649d01e 100644 --- a/net/core/scm.c +++ b/net/core/scm.c @@ -11,6 +11,7 @@ #include #include +#include #include #include #include diff --git a/net/core/sock.c b/net/core/sock.c index 6465b0e..6e00811 100644 --- a/net/core/sock.c +++ b/net/core/sock.c @@ -91,6 +91,7 @@ * 2 of the License, or (at your option) any later version. */ +#include #include #include #include -- cgit v1.1