diff options
author | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-11 19:31:03 +0200 |
---|---|---|
committer | Holger Hans Peter Freyther <holger@moiji-mobile.com> | 2015-04-11 19:31:03 +0200 |
commit | c2b4458e0789dcf42bd0fb7498d97c041aca87be (patch) | |
tree | 154d853b0dd6e75e81916e0410cd2ff31efd9667 /src/sim | |
parent | 1885395551fb9a34145e9e242754ba3b2a9aa09e (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.h | 2 |
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 |