include headers with prototypes to make sure prototypes match
authorRuss Dill <Russ.Dill@asu.edu>
Tue, 16 Dec 2003 20:44:15 +0000 (20:44 -0000)
committerRuss Dill <Russ.Dill@asu.edu>
Tue, 16 Dec 2003 20:44:15 +0000 (20:44 -0000)
networking/udhcp/clientpacket.c
networking/udhcp/clientpacket.h
networking/udhcp/leases.c
networking/udhcp/packet.c
networking/udhcp/script.c
networking/udhcp/serverpacket.c
networking/udhcp/serverpacket.h
networking/udhcp/socket.c

index 3ca579c4fee63573cbe25feca963a2eca64e7154..5cbe79e7e853894bc76b2b5eb00b6afd5e5aa5e2 100644 (file)
@@ -39,6 +39,7 @@
 
 
 #include "dhcpd.h"
+#include "clientpacket.h"
 #include "options.h"
 #include "dhcpc.h"
 #include "common.h"
index 2a6facbc84d45b103600c3139bbd576eda74b643..8e5441bc75ced45202abaa2b61c36d6d2d4c6abb 100644 (file)
@@ -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);
index 0b6b409cd5a9b37b6df7f16c106ad9ae09847bb5..341abab49f21e9a49b61bedb126989c94f511827 100644 (file)
@@ -12,6 +12,7 @@
 #include "dhcpd.h"
 #include "files.h"
 #include "options.h"
+#include "leases.h"
 #include "arpping.h"
 #include "common.h"
 
index 0f2a3bc6f19c0d0a62fd2b786eff0804956fabbd..32b489476fed19d34d60d20b801221457f96fad0 100644 (file)
@@ -14,6 +14,7 @@
 #endif
 #include <errno.h>
 
+#include "packet.h"
 #include "dhcpd.h"
 #include "options.h"
 #include "common.h"
index 0f2a21c3acba9ae2d74de7afdc9999603b1dda97..9c766a2e287d67c8c15dbfc19958a4ff1894a771 100644 (file)
@@ -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...) */
index 09682444ee9f2b47dbb876b99a150e124670dbb0..32d3c8098c46d3583789f7cd4bb5a95c47c917ab 100644 (file)
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "serverpacket.h"
 #include "dhcpd.h"
 #include "options.h"
 #include "common.h"
index 5a4fb27684afc5d34caebdb4f6b3d77f1d92f522..233d4491196826787ca3cc8a25cf9586019566f1 100644 (file)
@@ -1,6 +1,7 @@
 #ifndef _SERVERPACKET_H
 #define _SERVERPACKET_H
 
+#include "packet.h"
 
 int sendOffer(struct dhcpMessage *oldpacket);
 int sendNAK(struct dhcpMessage *oldpacket);
index df00e69854cc6059576561f8cc74d069e37db7d3..60190a044d4cf07e19b4bb4848df40b71f53a345 100644 (file)
@@ -41,6 +41,7 @@
 #include <linux/if_ether.h>
 #endif
 
+#include "socket.h"
 #include "common.h"
 
 int read_interface(char *interface, int *ifindex, u_int32_t *addr, unsigned char *arp)