Mark external function prototypes in state.h as extern.
This commit is contained in:
parent
c81e9f9a28
commit
73ad3b1419
18
ndhc/state.h
18
ndhc/state.h
@ -43,18 +43,18 @@ typedef enum {
|
|||||||
DS_NUM_STATES,
|
DS_NUM_STATES,
|
||||||
} dhcp_states_t;
|
} 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);
|
uint8_t msgtype);
|
||||||
void timeout_action(struct client_state_t *cs, long long nowts);
|
extern void timeout_action(struct client_state_t *cs, long long nowts);
|
||||||
void force_renew_action(struct client_state_t *cs);
|
extern void force_renew_action(struct client_state_t *cs);
|
||||||
void force_release_action(struct client_state_t *cs);
|
extern void force_release_action(struct client_state_t *cs);
|
||||||
|
|
||||||
void ifup_action(struct client_state_t *cs);
|
extern void ifup_action(struct client_state_t *cs);
|
||||||
void ifnocarrier_action(struct client_state_t *cs);
|
extern void ifnocarrier_action(struct client_state_t *cs);
|
||||||
void ifdown_action(struct client_state_t *cs);
|
extern void ifdown_action(struct client_state_t *cs);
|
||||||
long long dhcp_get_wake_ts(void);
|
extern long long dhcp_get_wake_ts(void);
|
||||||
|
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
|
Loading…
x
Reference in New Issue
Block a user