[osmo-bts PATCH] src/osmo-bts-sysmo/l1_if.c: Forgot add utils header

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/OpenBSC@lists.osmocom.org/.

Alvaro Neira Ayuso anayuso at sysmocom.de
Wed May 14 16:22:45 UTC 2014


From: Álvaro Neira Ayuso <anayuso at sysmocom.de>

In sysmocom-v2 and all versions above 2.2.0, when we use
sysmobts_get_nominal_power for calculating the power transmitter
inside the l1_if, we receive a warning for forgot include that header.

l1_if.c: In function 'l1if_activate_rf':
l1_if.c:1144:6: warning: implicit declaration of function
'sysmobts_get_nominal_power' [-Wimplicit-function-declaration]

Signed-off-by: Alvaro Neira Ayuso <anayuso at sysmocom.de>
---
 src/osmo-bts-sysmo/l1_if.c |    1 +
 1 file changed, 1 insertion(+)

diff --git a/src/osmo-bts-sysmo/l1_if.c b/src/osmo-bts-sysmo/l1_if.c
index 79d506a..6834240 100644
--- a/src/osmo-bts-sysmo/l1_if.c
+++ b/src/osmo-bts-sysmo/l1_if.c
@@ -60,6 +60,7 @@
 #include "hw_misc.h"
 #include "misc/sysmobts_par.h"
 #include "eeprom.h"
+#include "utils.h"
 
 extern int pcu_direct;
 
-- 
1.7.10.4





More information about the OpenBSC mailing list