include headers with prototypes to make sure prototypes match
This commit is contained in:
parent
5f46f1c241
commit
76729b8c69
@ -39,6 +39,7 @@
|
||||
|
||||
|
||||
#include "dhcpd.h"
|
||||
#include "clientpacket.h"
|
||||
#include "options.h"
|
||||
#include "dhcpc.h"
|
||||
#include "common.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);
|
||||
|
@ -12,6 +12,7 @@
|
||||
#include "dhcpd.h"
|
||||
#include "files.h"
|
||||
#include "options.h"
|
||||
#include "leases.h"
|
||||
#include "arpping.h"
|
||||
#include "common.h"
|
||||
|
||||
|
@ -14,6 +14,7 @@
|
||||
#endif
|
||||
#include <errno.h>
|
||||
|
||||
#include "packet.h"
|
||||
#include "dhcpd.h"
|
||||
#include "options.h"
|
||||
#include "common.h"
|
||||
|
@ -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...) */
|
||||
|
@ -25,6 +25,7 @@
|
||||
#include <string.h>
|
||||
#include <time.h>
|
||||
|
||||
#include "serverpacket.h"
|
||||
#include "dhcpd.h"
|
||||
#include "options.h"
|
||||
#include "common.h"
|
||||
|
@ -1,6 +1,7 @@
|
||||
#ifndef _SERVERPACKET_H
|
||||
#define _SERVERPACKET_H
|
||||
|
||||
#include "packet.h"
|
||||
|
||||
int sendOffer(struct dhcpMessage *oldpacket);
|
||||
int sendNAK(struct dhcpMessage *oldpacket);
|
||||
|
@ -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)
|
||||
|
Loading…
Reference in New Issue
Block a user