aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-04-20 20:01:15 +0200
committerHarald Welte <laforge@osmocom.org>2020-04-20 20:01:53 +0200
commit7712808e07ec5c1c09d0fc2f759f88c2422b443d (patch)
tree6d247473f27fcd1072fe58d46f3b8c50c3f971af /src
parent554dbf4fb7d8a64e7853a8f0b3d395f4811cd734 (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
Diffstat (limited to 'src')
-rw-r--r--src/tests/test-helpers.c2
1 files changed, 1 insertions, 1 deletions
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 };