commit | 7712808e07ec5c1c09d0fc2f759f88c2422b443d | [log] [tgz] |
---|---|---|
author | Harald Welte <laforge@osmocom.org> | Mon Apr 20 20:01:15 2020 +0200 |
committer | Harald Welte <laforge@osmocom.org> | Mon Apr 20 20:01:53 2020 +0200 |
tree | 6d247473f27fcd1072fe58d46f3b8c50c3f971af | |
parent | 554dbf4fb7d8a64e7853a8f0b3d395f4811cd734 [diff] |
Fix compilation with gcc-10 /usr/bin/ld: test_common.o:(.bss+0x0): multiple definition of `talloc_asn1_ctx'; test-helpers.o:(.bss+0x0): first defined here See also https://alioth-lists.debian.net/pipermail/debian-mobcom-maintainers/Week-of-Mon-20200413/000652.html Change-Id: I4ce41158bb27e6b9242613106f226fc86995c53c
diff --git a/src/tests/test-helpers.c b/src/tests/test-helpers.c index 08236fa..6a6a4d1 100644 --- a/src/tests/test-helpers.c +++ b/src/tests/test-helpers.c
@@ -33,7 +33,7 @@ #include <osmocom/ranap/RANAP_LAI.h> int asn1_xer_print = 0; -void *talloc_asn1_ctx; +extern void *talloc_asn1_ctx; /* use odd number of digits */ const uint8_t imsi_encoded[] = { 0x10, 0x32, 0x54, 0x76, 0xF8 };