From: Russ Dill Date: Tue, 16 Dec 2003 20:44:15 +0000 (-0000) Subject: include headers with prototypes to make sure prototypes match X-Git-Tag: 1_00_pre5~34 X-Git-Url: https://git.librecmc.org/?a=commitdiff_plain;h=76729b8c692cc47775fd95d41edf486cc9a57434;p=oweals%2Fbusybox.git include headers with prototypes to make sure prototypes match --- diff --git a/networking/udhcp/clientpacket.c b/networking/udhcp/clientpacket.c index 3ca579c4f..5cbe79e7e 100644 --- a/networking/udhcp/clientpacket.c +++ b/networking/udhcp/clientpacket.c @@ -39,6 +39,7 @@ #include "dhcpd.h" +#include "clientpacket.h" #include "options.h" #include "dhcpc.h" #include "common.h" diff --git a/networking/udhcp/clientpacket.h b/networking/udhcp/clientpacket.h index 2a6facbc8..8e5441bc7 100644 --- a/networking/udhcp/clientpacket.h +++ b/networking/udhcp/clientpacket.h @@ -1,6 +1,8 @@ #ifndef _CLIENTPACKET_H #define _CLIENTPACKET_H +#include "packet.h" + unsigned long random_xid(void); int send_discover(unsigned long xid, unsigned long requested); int send_selecting(unsigned long xid, unsigned long server, unsigned long requested); diff --git a/networking/udhcp/leases.c b/networking/udhcp/leases.c index 0b6b409cd..341abab49 100644 --- a/networking/udhcp/leases.c +++ b/networking/udhcp/leases.c @@ -12,6 +12,7 @@ #include "dhcpd.h" #include "files.h" #include "options.h" +#include "leases.h" #include "arpping.h" #include "common.h" diff --git a/networking/udhcp/packet.c b/networking/udhcp/packet.c index 0f2a3bc6f..32b489476 100644 --- a/networking/udhcp/packet.c +++ b/networking/udhcp/packet.c @@ -14,6 +14,7 @@ #endif #include +#include "packet.h" #include "dhcpd.h" #include "options.h" #include "common.h" diff --git a/networking/udhcp/script.c b/networking/udhcp/script.c index 0f2a21c3a..9c766a2e2 100644 --- a/networking/udhcp/script.c +++ b/networking/udhcp/script.c @@ -32,7 +32,7 @@ #include "options.h" #include "dhcpd.h" #include "dhcpc.h" -#include "options.h" +#include "script.h" #include "common.h" /* get a rough idea of how long an option will be (rounding up...) */ diff --git a/networking/udhcp/serverpacket.c b/networking/udhcp/serverpacket.c index 09682444e..32d3c8098 100644 --- a/networking/udhcp/serverpacket.c +++ b/networking/udhcp/serverpacket.c @@ -25,6 +25,7 @@ #include #include +#include "serverpacket.h" #include "dhcpd.h" #include "options.h" #include "common.h" diff --git a/networking/udhcp/serverpacket.h b/networking/udhcp/serverpacket.h index 5a4fb2768..233d44911 100644 --- a/networking/udhcp/serverpacket.h +++ b/networking/udhcp/serverpacket.h @@ -1,6 +1,7 @@ #ifndef _SERVERPACKET_H #define _SERVERPACKET_H +#include "packet.h" int sendOffer(struct dhcpMessage *oldpacket); int sendNAK(struct dhcpMessage *oldpacket); diff --git a/networking/udhcp/socket.c b/networking/udhcp/socket.c index df00e6985..60190a044 100644 --- a/networking/udhcp/socket.c +++ b/networking/udhcp/socket.c @@ -41,6 +41,7 @@ #include #endif +#include "socket.h" #include "common.h" int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp)