[BusyBox-cvs] busybox/networking/udhcp clientpacket.c, 1.4, 1.5 clientpacket.h, 1.1, 1.2 leases.c, 1.2, 1.3 packet.c, 1.2, 1.3 script.c, 1.7, 1.8 serverpacket.c, 1.2, 1.3 serverpacket.h, 1.1, 1.2 socket.c, 1.4, 1.5

Russ Dill russ at busybox.net
Tue Dec 16 20:44:18 UTC 2003


Update of /var/cvs/busybox/networking/udhcp
In directory nail:/tmp/cvs-serv17963

Modified Files:
	clientpacket.c clientpacket.h leases.c packet.c script.c 
	serverpacket.c serverpacket.h socket.c 
Log Message:
include headers with prototypes to make sure prototypes match

Index: leases.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/leases.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- leases.c	10 Jun 2003 17:22:49 -0000	1.2
+++ leases.c	16 Dec 2003 20:44:15 -0000	1.3
@@ -12,6 +12,7 @@
 #include "dhcpd.h"
 #include "files.h"
 #include "options.h"
+#include "leases.h"
 #include "arpping.h"
 #include "common.h"
 

Index: serverpacket.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/serverpacket.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- serverpacket.c	10 Jun 2003 17:22:49 -0000	1.2
+++ serverpacket.c	16 Dec 2003 20:44:15 -0000	1.3
@@ -25,6 +25,7 @@
 #include <string.h>
 #include <time.h>
 
+#include "serverpacket.h"
 #include "dhcpd.h"
 #include "options.h"
 #include "common.h"

Index: packet.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/packet.c,v
retrieving revision 1.2
retrieving revision 1.3
diff -u -d -r1.2 -r1.3
--- packet.c	10 Jun 2003 17:22:49 -0000	1.2
+++ packet.c	16 Dec 2003 20:44:15 -0000	1.3
@@ -14,6 +14,7 @@
 #endif
 #include <errno.h>
 
+#include "packet.h"
 #include "dhcpd.h"
 #include "options.h"
 #include "common.h"

Index: script.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/script.c,v
retrieving revision 1.7
retrieving revision 1.8
diff -u -d -r1.7 -r1.8
--- script.c	15 Dec 2003 22:11:26 -0000	1.7
+++ script.c	16 Dec 2003 20:44:15 -0000	1.8
@@ -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: serverpacket.h
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/serverpacket.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- serverpacket.h	14 Oct 2002 21:41:28 -0000	1.1
+++ serverpacket.h	16 Dec 2003 20:44:15 -0000	1.2
@@ -1,6 +1,7 @@
 #ifndef _SERVERPACKET_H
 #define _SERVERPACKET_H
 
+#include "packet.h"
 
 int sendOffer(struct dhcpMessage *oldpacket);
 int sendNAK(struct dhcpMessage *oldpacket);

Index: clientpacket.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/clientpacket.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- clientpacket.c	15 Dec 2003 22:09:36 -0000	1.4
+++ clientpacket.c	16 Dec 2003 20:44:15 -0000	1.5
@@ -39,6 +39,7 @@
 
 
 #include "dhcpd.h"
+#include "clientpacket.h"
 #include "options.h"
 #include "dhcpc.h"
 #include "common.h"

Index: clientpacket.h
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/clientpacket.h,v
retrieving revision 1.1
retrieving revision 1.2
diff -u -d -r1.1 -r1.2
--- clientpacket.h	14 Oct 2002 21:41:26 -0000	1.1
+++ clientpacket.h	16 Dec 2003 20:44:15 -0000	1.2
@@ -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: socket.c
===================================================================
RCS file: /var/cvs/busybox/networking/udhcp/socket.c,v
retrieving revision 1.4
retrieving revision 1.5
diff -u -d -r1.4 -r1.5
--- socket.c	14 Nov 2003 03:00:04 -0000	1.4
+++ socket.c	16 Dec 2003 20:44:15 -0000	1.5
@@ -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)




More information about the busybox-cvs mailing list