diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-18 19:51:32 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-18 19:51:32 +0000 |
commit | 5a3395bc01cd4b11309595a6ecdaf32f8279f378 (patch) | |
tree | 1e63aa591a05e9ec75aefdcd639ca4188e583648 /networking/udhcp/dhcpc.c | |
parent | abfc4cf6d8b9c59724aceb70df5081a1368fdb62 (diff) | |
download | busybox-w32-5a3395bc01cd4b11309595a6ecdaf32f8279f378.tar.gz busybox-w32-5a3395bc01cd4b11309595a6ecdaf32f8279f378.tar.bz2 busybox-w32-5a3395bc01cd4b11309595a6ecdaf32f8279f378.zip |
udhcp: fix indentation and style.
Eliminate (group) a lot of smallish *.h files
Remove lots of unneeded #includes
Diffstat (limited to 'networking/udhcp/dhcpc.c')
-rw-r--r-- | networking/udhcp/dhcpc.c | 17 |
1 files changed, 1 insertions, 16 deletions
diff --git a/networking/udhcp/dhcpc.c b/networking/udhcp/dhcpc.c index e2ddf4fb1..4ccd8ec34 100644 --- a/networking/udhcp/dhcpc.c +++ b/networking/udhcp/dhcpc.c | |||
@@ -8,28 +8,13 @@ | |||
8 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. | 8 | * Licensed under the GPL v2 or later, see the file LICENSE in this tarball. |
9 | */ | 9 | */ |
10 | 10 | ||
11 | #include <sys/file.h> | ||
12 | #include <unistd.h> | ||
13 | #include <getopt.h> | 11 | #include <getopt.h> |
14 | #include <stdlib.h> | ||
15 | #include <sys/socket.h> | ||
16 | #include <netinet/in.h> | ||
17 | #include <arpa/inet.h> | ||
18 | #include <signal.h> | ||
19 | #include <time.h> | ||
20 | #include <string.h> | ||
21 | #include <sys/ioctl.h> | ||
22 | #include <net/if.h> | ||
23 | #include <errno.h> | ||
24 | 12 | ||
25 | #include "common.h" | 13 | #include "common.h" |
26 | #include "dhcpd.h" | 14 | #include "dhcpd.h" |
27 | #include "dhcpc.h" | 15 | #include "dhcpc.h" |
28 | #include "options.h" | 16 | #include "options.h" |
29 | #include "clientpacket.h" | 17 | |
30 | #include "clientsocket.h" | ||
31 | #include "socket.h" | ||
32 | #include "signalpipe.h" | ||
33 | 18 | ||
34 | static int state; | 19 | static int state; |
35 | /* Something is definitely wrong here. IPv4 addresses | 20 | /* Something is definitely wrong here. IPv4 addresses |