From 362dc2bf3314b3e01d0445acbabaebedb3a94131 Mon Sep 17 00:00:00 2001 From: Rob Landley Date: Mon, 5 Jun 2006 17:35:24 +0000 Subject: Header cleanup on two more networking files (move libbb.h to the top and remove #includes that libbb.h already does), plus a minor cleanup of libbb.h to move #includes towards the top of the file where we can see 'em. --- networking/fakeidentd.c | 10 ++-------- networking/nameif.c | 4 ++-- 2 files changed, 4 insertions(+), 10 deletions(-) (limited to 'networking') diff --git a/networking/fakeidentd.c b/networking/fakeidentd.c index d3aa3ce5d..b097d9980 100644 --- a/networking/fakeidentd.c +++ b/networking/fakeidentd.c @@ -9,28 +9,22 @@ * Licensed under GPLv2 or later, see file LICENSE in this tarball for details. */ +#include "busybox.h" + #include -#include -#include -#include #include #include #include #include #include -#include #include -#include #include #include -#include #include -#include #include -#include "busybox.h" #define IDENT_PORT 113 #define MAXCONNS 20 diff --git a/networking/nameif.c b/networking/nameif.c index 7dc48ec16..3d53d6f15 100644 --- a/networking/nameif.c +++ b/networking/nameif.c @@ -8,17 +8,17 @@ * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. */ +#include "busybox.h" + #include #include #include #include -#include #include #include #include #include -#include "busybox.h" /* Older versions of net/if.h do not appear to define IF_NAMESIZE. */ #ifndef IF_NAMESIZE -- cgit v1.2.3