summaryrefslogtreecommitdiffstats
path: root/arch/um/drivers/vde_user.c
diff options
context:
space:
mode:
authorJeff Dike2007-10-16 10:27:29 +0200
committerLinus Torvalds2007-10-16 18:43:08 +0200
commitcd1ae0e49bdd814cfaa2e5ab28cff21a30e20085 (patch)
tree1b993b9de4cb9a8578022a4014063c3e87ec996e /arch/um/drivers/vde_user.c
parentuml: use *SEC_PER_*SEC constants (diff)
downloadkernel-qcow2-linux-cd1ae0e49bdd814cfaa2e5ab28cff21a30e20085.tar.gz
kernel-qcow2-linux-cd1ae0e49bdd814cfaa2e5ab28cff21a30e20085.tar.xz
kernel-qcow2-linux-cd1ae0e49bdd814cfaa2e5ab28cff21a30e20085.zip
uml: network formatting
Style and other non-functional changes in the UML networking code, including include tidying style violations copyright updates printks getting severities userspace code calling libc directly rather than using the os_* wrappers There's also a exit path cleanup in the pcap driver. Signed-off-by: Jeff Dike <jdike@linux.intel.com> Signed-off-by: Andrew Morton <akpm@linux-foundation.org> Signed-off-by: Linus Torvalds <torvalds@linux-foundation.org>
Diffstat (limited to 'arch/um/drivers/vde_user.c')
-rw-r--r--arch/um/drivers/vde_user.c8
1 files changed, 3 insertions, 5 deletions
diff --git a/arch/um/drivers/vde_user.c b/arch/um/drivers/vde_user.c
index d3b5a065fc52..7533cd3cbba4 100644
--- a/arch/um/drivers/vde_user.c
+++ b/arch/um/drivers/vde_user.c
@@ -3,15 +3,13 @@
* Licensed under the GPL.
*/
+#include <stddef.h>
#include <errno.h>
-#include <unistd.h>
#include <libvdeplug.h>
-#include "net_user.h"
-#include "kern_util.h"
#include "kern_constants.h"
-#include "user.h"
-#include "os.h"
+#include "net_user.h"
#include "um_malloc.h"
+#include "user.h"
#include "vde.h"
#define MAX_PACKET (ETH_MAX_PACKET + ETH_HEADER_OTHER)