This is merely a historical archive of years 2008-2021, before the migration to mailman3.
A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.
Harald Welte gerrit-no-reply at lists.osmocom.orgHarald Welte has uploaded this change for review. ( https://gerrit.osmocom.org/14132
Change subject: bcch_scan: Fix compiler warning about undefined functions
......................................................................
bcch_scan: Fix compiler warning about undefined functions
Change-Id: I435ef2032b9cefe844c37f395d9087be6af8934a
---
M src/host/layer23/src/misc/Makefile.am
M src/host/layer23/src/misc/app_bcch_scan.c
A src/host/layer23/src/misc/bcch_scan.h
3 files changed, 10 insertions(+), 1 deletion(-)
git pull ssh://gerrit.osmocom.org:29418/osmocom-bb refs/changes/32/14132/1
diff --git a/src/host/layer23/src/misc/Makefile.am b/src/host/layer23/src/misc/Makefile.am
index 9c2bc4d..f3d7e95 100644
--- a/src/host/layer23/src/misc/Makefile.am
+++ b/src/host/layer23/src/misc/Makefile.am
@@ -4,6 +4,8 @@
bin_PROGRAMS = bcch_scan ccch_scan echo_test cell_log cbch_sniff
+noinst_HEADERS = bcch_scan.h
+
bcch_scan_SOURCES = ../common/main.c app_bcch_scan.c bcch_scan.c
ccch_scan_SOURCES = ../common/main.c app_ccch_scan.c rslms.c
echo_test_SOURCES = ../common/main.c app_echo_test.c
diff --git a/src/host/layer23/src/misc/app_bcch_scan.c b/src/host/layer23/src/misc/app_bcch_scan.c
index 7b21ed7..22e6f1b 100644
--- a/src/host/layer23/src/misc/app_bcch_scan.c
+++ b/src/host/layer23/src/misc/app_bcch_scan.c
@@ -33,6 +33,7 @@
#include <osmocom/core/signal.h>
#include <l1ctl_proto.h>
+#include "bcch_scan.h"
static int signal_cb(unsigned int subsys, unsigned int signal,
void *handler_data, void *signal_data)
@@ -53,7 +54,7 @@
int l23_app_init(struct osmocom_ms *ms)
{
/* don't do layer3_init() as we don't want an actualy L3 */
- fps_init(ms);
+ fps_init();
l1ctl_tx_reset_req(ms, L1CTL_RES_T_FULL);
return osmo_signal_register_handler(SS_L1CTL, &signal_cb, NULL);
}
diff --git a/src/host/layer23/src/misc/bcch_scan.h b/src/host/layer23/src/misc/bcch_scan.h
new file mode 100644
index 0000000..ab861b4
--- /dev/null
+++ b/src/host/layer23/src/misc/bcch_scan.h
@@ -0,0 +1,6 @@
+#pragma once
+
+struct osmocom_ms;
+
+int fps_start(struct osmocom_ms *ms);
+int fps_init(void);
--
To view, visit https://gerrit.osmocom.org/14132
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings
Gerrit-Project: osmocom-bb
Gerrit-Branch: master
Gerrit-MessageType: newchange
Gerrit-Change-Id: I435ef2032b9cefe844c37f395d9087be6af8934a
Gerrit-Change-Number: 14132
Gerrit-PatchSet: 1
Gerrit-Owner: Harald Welte <laforge at gnumonks.org>
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190522/d89b6a1d/attachment.htm>