summaryrefslogtreecommitdiffstats
path: root/include/osmocore
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <zecke@selfish.org>2010-03-11 14:42:41 +0100
committerHolger Hans Peter Freyther <zecke@selfish.org>2010-03-11 14:42:41 +0100
commit6214b92f813e3663957682db8d745a2769e09e96 (patch)
treeba6f1012cfe511f807a04ccf225b87f43364ec5e /include/osmocore
parenta49951fed75d681722df6d65fd318a697c87e4bd (diff)
gsm48.h: Make the array extern to a silence a linker warning
/usr/lib/gcc/i686-pc-linux-gnu/4.3.4/../../../../i686-pc-linux-gnu/bin/ld: Warning: size of symbol `rsl_rlm_cause_strs' changed from 8 in ./openbsc/src/libbsc.a(abis_rsl.o) to 120 in /usr/local/lib/libosmocore.so spotted and sent to the list by Andreas
Diffstat (limited to 'include/osmocore')
-rw-r--r--include/osmocore/gsm48.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/include/osmocore/gsm48.h b/include/osmocore/gsm48.h
index 63563796..787cdd0d 100644
--- a/include/osmocore/gsm48.h
+++ b/include/osmocore/gsm48.h
@@ -6,7 +6,7 @@
extern const struct tlv_definition gsm48_att_tlvdef;
extern const char *cc_state_names[32];
-const char *gsm48_cc_msg_names[0x40];
+extern const char *gsm48_cc_msg_names[0x40];
const char *rr_cause_name(uint8_t cause);
void gsm48_generate_lai(struct gsm48_loc_area_id *lai48, uint16_t mcc,