aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorHarald Welte <laforge@osmocom.org>2020-04-20 20:01:15 +0200
committerHarald Welte <laforge@osmocom.org>2020-07-26 14:02:40 +0200
commitcadaac2155297b861388bfe9adbdd2b17777f42f (patch)
treeff4b909f9de85d04a451fdc4d7039fb1367836b4
parent67d32a0386b1c0bfb7a12f63b5bb475a08010e80 (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
-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 f218a79..ac7e129 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 };