Fix build after recent gsm_bts_alloc() change

In openbsc.git Change-Id I61c18a7f021fcb1ec00d34a745f4e3ab03416c2d
we changed the gsm_bts_alloc() function signature to include
a second argument (the BTS number).  This broke omso-bts, and this
commit is intended to make it build again.

Change-Id: I7ef7654d48c1cfc7e4ecb0b771553ec0740ce2bf
This commit is contained in:
Harald Welte 2017-08-14 01:19:53 +02:00
parent fe6c75d24a
commit fb78397cbd
7 changed files with 7 additions and 7 deletions

View File

@ -241,7 +241,7 @@ int bts_main(int argc, char **argv)
handle_options(argc, argv);
bts = gsm_bts_alloc(tall_bts_ctx);
bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (!bts) {
fprintf(stderr, "Failed to create BTS structure\n");
exit(1);

View File

@ -229,7 +229,7 @@ int main(int argc, char **argv)
bts_log_init(NULL);
bts = gsm_bts_alloc(tall_bts_ctx);
bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (bts_init(bts) < 0) {
fprintf(stderr, "unable to open bts\n");
exit(1);

View File

@ -71,7 +71,7 @@ int main(int argc, char **argv)
bts_log_init(NULL);
bts = gsm_bts_alloc(tall_bts_ctx);
bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (bts_init(bts) < 0) {
fprintf(stderr, "unable to open bts\n");
exit(1);

View File

@ -71,7 +71,7 @@ int main(int argc, char **argv)
bts_log_init(NULL);
osmo_stderr_target->categories[DHO].loglevel = LOGL_DEBUG;
bts = gsm_bts_alloc(tall_bts_ctx);
bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (!bts) {
fprintf(stderr, "Failed to create BTS structure\n");
exit(1);

View File

@ -97,7 +97,7 @@ int main(int argc, char **argv)
bts_log_init(NULL);
osmo_stderr_target->categories[DMEAS].loglevel = LOGL_DEBUG;
bts = gsm_bts_alloc(tall_bts_ctx);
bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (!bts) {
fprintf(stderr, "Failed to create BTS structure\n");
exit(1);

View File

@ -117,7 +117,7 @@ int main(int argc, char **argv)
bts_log_init(NULL);
bts = gsm_bts_alloc(tall_bts_ctx);
bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (bts_init(bts) < 0) {
fprintf(stderr, "unable to open bts\n");
exit(1);

View File

@ -215,7 +215,7 @@ int main(int argc, char **argv)
osmo_stderr_target->categories[DL1C].loglevel = LOGL_DEBUG;
log_set_print_filename(osmo_stderr_target, 0);
bts = gsm_bts_alloc(tall_bts_ctx);
bts = gsm_bts_alloc(tall_bts_ctx, 0);
if (!bts) {
fprintf(stderr, "Failed to create BTS structure\n");
exit(1);