aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--src/osmo-bts-sysmo/eeprom.c2
-rw-r--r--src/osmo-bts-sysmo/sysmobts_vty.c4
2 files changed, 5 insertions, 1 deletions
diff --git a/src/osmo-bts-sysmo/eeprom.c b/src/osmo-bts-sysmo/eeprom.c
index e96d2197..272d41a0 100644
--- a/src/osmo-bts-sysmo/eeprom.c
+++ b/src/osmo-bts-sysmo/eeprom.c
@@ -302,7 +302,7 @@ eeprom_Error_t eeprom_ReadEthAddr( uint8_t *ethaddr )
{
int err;
- err = eeprom_read(0, 6, ethaddr);
+ err = eeprom_read(0, 6, (char *) ethaddr);
if ( err != 6 )
{
return EEPROM_ERR_DEVICE;
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 \