controlif: declare controlif_setup() in control_cmd.h

this avoids us to copy+paste external declarations over all 'main'
files.
diff --git a/openbsc/include/openbsc/control_cmd.h b/openbsc/include/openbsc/control_cmd.h
index c94c7b5..82252cb 100644
--- a/openbsc/include/openbsc/control_cmd.h
+++ b/openbsc/include/openbsc/control_cmd.h
@@ -148,4 +148,7 @@
 	.verify = &verify_##cmdname, \
 }
 
+struct gsm_network;
+int controlif_setup(struct gsm_network *gsmnet, uint16_t port);
+
 #endif /* _CONTROL_CMD_H */
diff --git a/openbsc/src/osmo-bsc/osmo_bsc_main.c b/openbsc/src/osmo-bsc/osmo_bsc_main.c
index 1eb8abd..7d5d835 100644
--- a/openbsc/src/osmo-bsc/osmo_bsc_main.c
+++ b/openbsc/src/osmo-bsc/osmo_bsc_main.c
@@ -53,8 +53,6 @@
 extern const char *openbsc_copyright;
 static int daemonize = 0;
 
-extern void controlif_setup(struct gsm_network *gsmnet, uint16_t port);
-
 static void print_usage()
 {
 	printf("Usage: osmo-bsc\n");
diff --git a/openbsc/src/osmo-bsc_nat/bsc_nat.c b/openbsc/src/osmo-bsc_nat/bsc_nat.c
index 0f86512..2335e24 100644
--- a/openbsc/src/osmo-bsc_nat/bsc_nat.c
+++ b/openbsc/src/osmo-bsc_nat/bsc_nat.c
@@ -1686,8 +1686,6 @@
 	return 0;
 }
 
-extern int controlif_setup(struct gsm_network *gsmnet, uint16_t port);
-
 int main(int argc, char **argv)
 {
 	int rc;
diff --git a/openbsc/src/osmo-nitb/bsc_hack.c b/openbsc/src/osmo-nitb/bsc_hack.c
index cbc6190..fc67a4d 100644
--- a/openbsc/src/osmo-nitb/bsc_hack.c
+++ b/openbsc/src/osmo-nitb/bsc_hack.c
@@ -207,8 +207,6 @@
 
 void talloc_ctx_init(void);
 
-extern int controlif_setup(struct gsm_network *gsmnet, uint16_t port);
-
 extern enum node_type bsc_vty_go_parent(struct vty *vty);
 
 static struct vty_app_info vty_info = {