diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-01 09:27:14 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2013-07-01 09:30:02 +0200 |
commit | 2523cdbc7f03a1114e5cb8b17f6ce06f846d28ea (patch) | |
tree | 523b26faa57f285e7b5f07562465fb843e0264c7 /src/osmo-bts-sysmo/sysmobts_vty.c | |
parent | 6404a766617ba3dac02374b4e0d6cbc8b7b9770d (diff) |
misc: Fix various warnings in the code
sysmobts_vty.c: In function 'activate_lchan':
sysmobts_vty.c:373:3: warning: implicit declaration of function 'lchan_activate' [-Wimplicit-function-declaration]
sysmobts_vty.c:375:3: warning: implicit declaration of function 'lchan_deactivate' [-Wimplicit-function-declaration]
eeprom.c: In function 'eeprom_ReadEthAddr':
eeprom.c:305:5: warning: pointer targets in passing argument 3 of 'eeprom_read' differ in signedness [-Wpointer-sign]
eeprom.c:260:12: note: expected 'char *' but argument is of type 'uint8_t *'
Diffstat (limited to 'src/osmo-bts-sysmo/sysmobts_vty.c')
-rw-r--r-- | src/osmo-bts-sysmo/sysmobts_vty.c | 4 |
1 files changed, 4 insertions, 0 deletions
diff --git a/src/osmo-bts-sysmo/sysmobts_vty.c b/src/osmo-bts-sysmo/sysmobts_vty.c index 558dcd97..5bc948e7 100644 --- a/src/osmo-bts-sysmo/sysmobts_vty.c +++ b/src/osmo-bts-sysmo/sysmobts_vty.c @@ -46,6 +46,10 @@ #include "femtobts.h" #include "l1_if.h" + +extern int lchan_activate(struct gsm_lchan *lchan, enum gsm_lchan_state lchan_state); +extern int lchan_deactivate(struct gsm_lchan *lchan); + #define TRX_STR "Transceiver related commands\n" "TRX number\n" #define SHOW_TRX_STR \ |