From 73ad3b14199967dca5a2daebbfce81a011b135e8 Mon Sep 17 00:00:00 2001 From: "Nicholas J. Kain" Date: Wed, 12 Mar 2014 20:39:55 -0400 Subject: [PATCH] Mark external function prototypes in state.h as extern. --- ndhc/state.h | 18 +++++++++--------- 1 file changed, 9 insertions(+), 9 deletions(-) diff --git a/ndhc/state.h b/ndhc/state.h index 1d5cbf9..62e007e 100644 --- a/ndhc/state.h +++ b/ndhc/state.h @@ -43,18 +43,18 @@ typedef enum { DS_NUM_STATES, } dhcp_states_t; -void reinit_selecting(struct client_state_t *cs, int timeout); +extern void reinit_selecting(struct client_state_t *cs, int timeout); -void packet_action(struct client_state_t *cs, struct dhcpmsg *packet, +extern void packet_action(struct client_state_t *cs, struct dhcpmsg *packet, uint8_t msgtype); -void timeout_action(struct client_state_t *cs, long long nowts); -void force_renew_action(struct client_state_t *cs); -void force_release_action(struct client_state_t *cs); +extern void timeout_action(struct client_state_t *cs, long long nowts); +extern void force_renew_action(struct client_state_t *cs); +extern void force_release_action(struct client_state_t *cs); -void ifup_action(struct client_state_t *cs); -void ifnocarrier_action(struct client_state_t *cs); -void ifdown_action(struct client_state_t *cs); -long long dhcp_get_wake_ts(void); +extern void ifup_action(struct client_state_t *cs); +extern void ifnocarrier_action(struct client_state_t *cs); +extern void ifdown_action(struct client_state_t *cs); +extern long long dhcp_get_wake_ts(void); #endif