altos: Remove 8051 address space specifiers
[fw/altos] / src / telelco-v2.0 / ao_lco_v2.c
index f64a7745318953ebbde152110922795637f8100a..428b1a7c9594566814ff49865e14540b1b50ca12 100644 (file)
@@ -72,7 +72,7 @@ ao_lco_show_box(uint16_t box)
        ao_mutex_put(&ao_lco_display_mutex);
 }
 
-void
+static void
 ao_lco_show_voltage(uint16_t decivolts)
 {
        uint8_t tens, ones, tenths;
@@ -89,7 +89,7 @@ ao_lco_show_voltage(uint16_t decivolts)
 }
 
 void
-ao_lco_show_display(void)
+ao_lco_show(void)
 {
        if (ao_lco_pad == AO_LCO_PAD_VOLTAGE) {
                ao_lco_show_voltage(ao_pad_query.battery);
@@ -287,7 +287,7 @@ ao_lco_set_debug(void)
                ao_lco_debug = ao_cmd_lex_i != 0;
 }
 
-__code struct ao_cmds ao_lco_cmds[] = {
+const struct ao_cmds ao_lco_cmds[] = {
        { ao_lco_set_debug,     "D <0 off, 1 on>\0Debug" },
        { ao_lco_search,        "s\0Search for pad boxes" },
        { 0, NULL }