controlif: declare controlif_setup() in control_cmd.h

this avoids us to copy+paste external declarations over all 'main'
files.
This commit is contained in:
Harald Welte 2011-07-13 14:14:03 +02:00
parent 8b7a9626a2
commit 18b70b5b81
1 changed files with 3 additions and 0 deletions

View File

@ -148,4 +148,7 @@ struct ctrl_cmd_element cmd_##cmdname = { \
.verify = &verify_##cmdname, \ .verify = &verify_##cmdname, \
} }
struct gsm_network;
int controlif_setup(struct gsm_network *gsmnet, uint16_t port);
#endif /* _CONTROL_CMD_H */ #endif /* _CONTROL_CMD_H */