summaryrefslogtreecommitdiffstats
path: root/src/sim
diff options
context:
space:
mode:
authorHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-11 19:31:03 +0200
committerHolger Hans Peter Freyther <holger@moiji-mobile.com>2015-04-11 19:31:03 +0200
commitc2b4458e0789dcf42bd0fb7498d97c041aca87be (patch)
tree154d853b0dd6e75e81916e0410cd2ff31efd9667 /src/sim
parent1885395551fb9a34145e9e242754ba3b2a9aa09e (diff)
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
Diffstat (limited to 'src/sim')
-rw-r--r--src/sim/sim_int.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/sim/sim_int.h b/src/sim/sim_int.h
index c10c5f08..70247437 100644
--- a/src/sim/sim_int.h
+++ b/src/sim/sim_int.h
@@ -36,6 +36,6 @@ struct osim_reader_ops {
int (*transceive)(struct osim_reader_hdl *rh, struct msgb *msg);
};
-const struct osim_reader_ops pcsc_reader_ops;
+extern const struct osim_reader_ops pcsc_reader_ops;
#endif