From c2b4458e0789dcf42bd0fb7498d97c041aca87be Mon Sep 17 00:00:00 2001 From: Holger Hans Peter Freyther Date: Sat, 11 Apr 2015 19:31:03 +0200 Subject: sim: Use extern for these structs to generate a linkage Fixes: duplicate symbol _ts102221_fcp_vals in: .libs/core.o .libs/card_fs_usim.o duplicate symbol _pcsc_reader_ops in: .libs/reader.o .libs/card_fs_usim.o --- include/osmocom/sim/sim.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'include/osmocom/sim') diff --git a/include/osmocom/sim/sim.h b/include/osmocom/sim/sim.h index 02cdcad5..bb4b7d8e 100644 --- a/include/osmocom/sim/sim.h +++ b/include/osmocom/sim/sim.h @@ -294,7 +294,7 @@ struct osim_card_hdl; char *osim_print_sw(const struct osim_card_hdl *ch, uint16_t sw_in); extern const struct tlv_definition ts102221_fcp_tlv_def; -const struct value_string ts102221_fcp_vals[14]; +extern const struct value_string ts102221_fcp_vals[14]; /* 11.1.1.3 */ enum ts102221_fcp_tag { -- cgit v1.2.3