From d68bb3b678e867c69a99f97e26b72715e2b8e57f Mon Sep 17 00:00:00 2001 From: Dimitri Staessens Date: Mon, 18 May 2020 21:42:17 +0200 Subject: build: Add support for GCC 10 GCC 10 defaults to -fno-common, so some variables that were defined in the headers needed to be declared "extern". The GCC 10 static analyzer can now be invoked using the DebugAnalyzer build option. Signed-off-by: Dimitri Staessens Signed-off-by: Sander Vrijders --- src/ipcpd/unicast/dir.c | 1 + 1 file changed, 1 insertion(+) (limited to 'src/ipcpd/unicast/dir.c') diff --git a/src/ipcpd/unicast/dir.c b/src/ipcpd/unicast/dir.c index 43ee94f0..b99380fe 100644 --- a/src/ipcpd/unicast/dir.c +++ b/src/ipcpd/unicast/dir.c @@ -45,6 +45,7 @@ #define KAD_B (hash_len(ipcpi.dir_hash_algo) * CHAR_BIT) +struct ipcp icpci; struct dht * dht; int dir_init(void) -- cgit v1.2.3