diff options
author | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-17 20:29:00 +0000 |
---|---|---|
committer | Denis Vlasenko <vda.linux@googlemail.com> | 2006-11-17 20:29:00 +0000 |
commit | a7189f01a4a19a9c8852e84b322fc3d8cbda92eb (patch) | |
tree | 436e3ab7b6f055553199153e99f6b7589fb488ec /networking/udhcp | |
parent | 04c6386c45cd795617dd754066ac3bd6a62757cb (diff) | |
download | busybox-w32-a7189f01a4a19a9c8852e84b322fc3d8cbda92eb.tar.gz busybox-w32-a7189f01a4a19a9c8852e84b322fc3d8cbda92eb.tar.bz2 busybox-w32-a7189f01a4a19a9c8852e84b322fc3d8cbda92eb.zip |
add -Wundef, fix uncovered bugs
Diffstat (limited to 'networking/udhcp')
-rw-r--r-- | networking/udhcp/clientpacket.c | 2 | ||||
-rw-r--r-- | networking/udhcp/clientsocket.c | 2 | ||||
-rw-r--r-- | networking/udhcp/packet.c | 2 | ||||
-rw-r--r-- | networking/udhcp/socket.c | 2 |
4 files changed, 4 insertions, 4 deletions
diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 58b26c171..4299c2dbd 100644 --- a/networking/udhcp/clientpacket.c +++ b/networking/udhcp/clientpacket.c | |||
@@ -11,7 +11,7 @@ | |||
11 | #include <string.h> | 11 | #include <string.h> |
12 | #include <sys/socket.h> | 12 | #include <sys/socket.h> |
13 | #include <features.h> | 13 | #include <features.h> |
14 | #if (__GLIBC__ >= 2 && __GLIBC_MINOR >= 1) || defined _NEWLIB_VERSION | 14 | #if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION |
15 | #include <netpacket/packet.h> | 15 | #include <netpacket/packet.h> |
16 | #include <net/ethernet.h> | 16 | #include <net/ethernet.h> |
17 | #else | 17 | #else |
diff --git a/networking/udhcp/clientsocket.c b/networking/udhcp/clientsocket.c index 982aca1bb..6aa61754d 100644 --- a/networking/udhcp/clientsocket.c +++ b/networking/udhcp/clientsocket.c | |||
@@ -26,7 +26,7 @@ | |||
26 | #include <unistd.h> | 26 | #include <unistd.h> |
27 | #include <netinet/in.h> | 27 | #include <netinet/in.h> |
28 | #include <features.h> | 28 | #include <features.h> |
29 | #if (__GLIBC__ >= 2 && __GLIBC_MINOR >= 1) || defined _NEWLIB_VERSION | 29 | #if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined(_NEWLIB_VERSION) |
30 | #include <netpacket/packet.h> | 30 | #include <netpacket/packet.h> |
31 | #include <net/ethernet.h> | 31 | #include <net/ethernet.h> |
32 | #else | 32 | #else |
diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c index f12ecd6ec..e861b825a 100644 --- a/networking/udhcp/packet.c +++ b/networking/udhcp/packet.c | |||
@@ -5,7 +5,7 @@ | |||
5 | #include <sys/types.h> | 5 | #include <sys/types.h> |
6 | #include <sys/socket.h> | 6 | #include <sys/socket.h> |
7 | #include <features.h> | 7 | #include <features.h> |
8 | #if (__GLIBC__ >= 2 && __GLIBC_MINOR >= 1) || defined _NEWLIB_VERSION | 8 | #if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION |
9 | #include <netpacket/packet.h> | 9 | #include <netpacket/packet.h> |
10 | #include <net/ethernet.h> | 10 | #include <net/ethernet.h> |
11 | #else | 11 | #else |
diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index 3f481c33c..d1867e9a8 100644 --- a/networking/udhcp/socket.c +++ b/networking/udhcp/socket.c | |||
@@ -33,7 +33,7 @@ | |||
33 | #include <net/if.h> | 33 | #include <net/if.h> |
34 | #include <errno.h> | 34 | #include <errno.h> |
35 | #include <features.h> | 35 | #include <features.h> |
36 | #if (__GLIBC__ >= 2 && __GLIBC_MINOR >= 1) || defined _NEWLIB_VERSION | 36 | #if (__GLIBC__ >= 2 && __GLIBC_MINOR__ >= 1) || defined _NEWLIB_VERSION |
37 | #include <netpacket/packet.h> | 37 | #include <netpacket/packet.h> |
38 | #include <net/ethernet.h> | 38 | #include <net/ethernet.h> |
39 | #else | 39 | #else |