Mark more function prototypes as extern.

This commit is contained in:
Nicholas J. Kain 2014-03-12 20:55:35 -04:00
parent 4feac2ea35
commit f4a2a487d6
2 changed files with 19 additions and 19 deletions

View File

@ -59,14 +59,14 @@ extern int arp_probe_min;
extern int arp_probe_max;
extern int arp_relentless_def;
void arp_reset_send_stats(void);
int arp_close_fd(struct client_state_t *cs);
int arp_check(struct client_state_t *cs, struct dhcpmsg *packet);
int arp_gw_check(struct client_state_t *cs);
void arp_set_defense_mode(struct client_state_t *cs);
void arp_success(struct client_state_t *cs);
void handle_arp_response(struct client_state_t *cs);
void handle_arp_timeout(struct client_state_t *cs, long long nowts);
long long arp_get_wake_ts(void);
extern void arp_reset_send_stats(void);
extern int arp_close_fd(struct client_state_t *cs);
extern int arp_check(struct client_state_t *cs, struct dhcpmsg *packet);
extern int arp_gw_check(struct client_state_t *cs);
extern void arp_set_defense_mode(struct client_state_t *cs);
extern void arp_success(struct client_state_t *cs);
extern void handle_arp_response(struct client_state_t *cs);
extern void handle_arp_timeout(struct client_state_t *cs, long long nowts);
extern long long arp_get_wake_ts(void);
#endif /* ARP_H_ */

View File

@ -80,15 +80,15 @@ struct udp_dhcp_packet {
struct dhcpmsg data;
};
void set_listen_raw(struct client_state_t *cs);
void set_listen_cooked(struct client_state_t *cs);
void set_listen_none(struct client_state_t *cs);
void handle_packet(struct client_state_t *cs);
int send_discover(struct client_state_t *cs);
int send_selecting(struct client_state_t *cs);
int send_renew(struct client_state_t *cs);
int send_rebind(struct client_state_t *cs);
int send_decline(struct client_state_t *cs, uint32_t server);
int send_release(struct client_state_t *cs);
extern void set_listen_raw(struct client_state_t *cs);
extern void set_listen_cooked(struct client_state_t *cs);
extern void set_listen_none(struct client_state_t *cs);
extern void handle_packet(struct client_state_t *cs);
extern int send_discover(struct client_state_t *cs);
extern int send_selecting(struct client_state_t *cs);
extern int send_renew(struct client_state_t *cs);
extern int send_rebind(struct client_state_t *cs);
extern int send_decline(struct client_state_t *cs, uint32_t server);
extern int send_release(struct client_state_t *cs);
#endif