From 6214b92f813e3663957682db8d745a2769e09e96 Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Thu, 11 Mar 2010 14:42:41 +0100 Subject: 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 --- include/osmocore/gsm48.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, -- cgit v1.2.3