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
This commit is contained in:
Harald Welte 2020-04-20 20:01:15 +02:00
parent 554dbf4fb7
commit 7712808e07
1 changed files with 1 additions and 1 deletions

View File

@ -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 };