diff options
author | Al Viro <viro@ftp.linux.org.uk> | 2011-08-18 15:01:29 -0400 |
---|---|---|
committer | Richard Weinberger <richard@nod.at> | 2011-11-02 09:14:44 -0400 |
commit | 078073a3d48ce7c140f1538d249da3ac545065a6 (patch) | |
tree | 064e0baa9b1a6d97d5dbbbfae388a297303fba65 /arch/um/os-Linux/drivers | |
parent | 4de1c5f65c7dd4965a2a58b93205b747d7826110 (diff) |
um: -include user.h for USER_OBJ, trim includes
Signed-off-by: Al Viro <viro@zeniv.linux.org.uk>
Signed-off-by: Richard Weinberger <richard@nod.at>
Diffstat (limited to 'arch/um/os-Linux/drivers')
-rw-r--r-- | arch/um/os-Linux/drivers/ethertap_user.c | 2 | ||||
-rw-r--r-- | arch/um/os-Linux/drivers/tuntap_user.c | 2 |
2 files changed, 0 insertions, 4 deletions
diff --git a/arch/um/os-Linux/drivers/ethertap_user.c b/arch/um/os-Linux/drivers/ethertap_user.c index cc72cb2c1af6..db3d6481375a 100644 --- a/arch/um/os-Linux/drivers/ethertap_user.c +++ b/arch/um/os-Linux/drivers/ethertap_user.c | |||
@@ -13,11 +13,9 @@ | |||
13 | #include <sys/socket.h> | 13 | #include <sys/socket.h> |
14 | #include <sys/wait.h> | 14 | #include <sys/wait.h> |
15 | #include "etap.h" | 15 | #include "etap.h" |
16 | #include "kern_constants.h" | ||
17 | #include "os.h" | 16 | #include "os.h" |
18 | #include "net_user.h" | 17 | #include "net_user.h" |
19 | #include "um_malloc.h" | 18 | #include "um_malloc.h" |
20 | #include "user.h" | ||
21 | 19 | ||
22 | #define MAX_PACKET ETH_MAX_PACKET | 20 | #define MAX_PACKET ETH_MAX_PACKET |
23 | 21 | ||
diff --git a/arch/um/os-Linux/drivers/tuntap_user.c b/arch/um/os-Linux/drivers/tuntap_user.c index 2448be03fd7a..a2aacffdd907 100644 --- a/arch/um/os-Linux/drivers/tuntap_user.c +++ b/arch/um/os-Linux/drivers/tuntap_user.c | |||
@@ -13,11 +13,9 @@ | |||
13 | #include <sys/socket.h> | 13 | #include <sys/socket.h> |
14 | #include <sys/wait.h> | 14 | #include <sys/wait.h> |
15 | #include <sys/uio.h> | 15 | #include <sys/uio.h> |
16 | #include "kern_constants.h" | ||
17 | #include "kern_util.h" | 16 | #include "kern_util.h" |
18 | #include "os.h" | 17 | #include "os.h" |
19 | #include "tuntap.h" | 18 | #include "tuntap.h" |
20 | #include "user.h" | ||
21 | 19 | ||
22 | static int tuntap_user_init(void *data, void *dev) | 20 | static int tuntap_user_init(void *data, void *dev) |
23 | { | 21 | { |