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

Message ID 1400084565-14616-1-git-send-email-anayuso@sysmocom.de
State Changes Requested
Headers show

Commit Message

Alvaro Neira May 14, 2014, 4:22 p.m. UTC
From: Álvaro Neira Ayuso <anayuso@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@sysmocom.de>
---
 src/osmo-bts-sysmo/l1_if.c |    1 +
 1 file changed, 1 insertion(+)

Patch
diff mbox

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;