diff options
author | Harald Welte <laforge@gnumonks.org> | 2016-01-09 09:49:09 +0100 |
---|---|---|
committer | Harald Welte <laforge@gnumonks.org> | 2016-01-22 09:09:09 +0100 |
commit | a0192b859ba9230c84381cbf065816760da62ba7 (patch) | |
tree | 0682fa750525a0e95a294fb6a67863e39aa2b6bd /src/osmo-bts-sysmo | |
parent | ec3be11ec60ce1ba49124095c12101f70b5c9eec (diff) |
Add new bts_model_ctrl_cmds_install()
This is one step in making the main() functions of different
BTS models more similar, so we can share one code rather than multiple
copies of it.
Diffstat (limited to 'src/osmo-bts-sysmo')
-rw-r--r-- | src/osmo-bts-sysmo/main.c | 3 | ||||
-rw-r--r-- | src/osmo-bts-sysmo/sysmobts_ctrl.c | 2 |
2 files changed, 1 insertions, 4 deletions
diff --git a/src/osmo-bts-sysmo/main.c b/src/osmo-bts-sysmo/main.c index 72cd0ee6..2a082782 100644 --- a/src/osmo-bts-sysmo/main.c +++ b/src/osmo-bts-sysmo/main.c @@ -302,8 +302,6 @@ static int write_pid_file(char *procname) return 0; } -extern int sysmobts_ctrlif_inst_cmds(void); - int main(int argc, char **argv) { struct stat st; @@ -373,7 +371,6 @@ int main(int argc, char **argv) write_pid_file("osmo-bts"); bts_controlif_setup(bts); - sysmobts_ctrlif_inst_cmds(); rc = telnet_init(tall_bts_ctx, NULL, OSMO_VTY_PORT_BTS); if (rc < 0) { diff --git a/src/osmo-bts-sysmo/sysmobts_ctrl.c b/src/osmo-bts-sysmo/sysmobts_ctrl.c index dabb0106..8eee58c5 100644 --- a/src/osmo-bts-sysmo/sysmobts_ctrl.c +++ b/src/osmo-bts-sysmo/sysmobts_ctrl.c @@ -261,7 +261,7 @@ static int verify_clock_corr(struct ctrl_cmd *cmd, const char *value, void *data } #endif /* HW_SYSMOBTS_V1 */ -int sysmobts_ctrlif_inst_cmds(void) +int bts_model_ctrl_cmds_install(struct gsm_bts *bts) { int rc = 0; |