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/eth/eth.c | 2 ++ 1 file changed, 2 insertions(+) (limited to 'src/ipcpd/eth') diff --git a/src/ipcpd/eth/eth.c b/src/ipcpd/eth/eth.c index 6b17912b..618ba44f 100644 --- a/src/ipcpd/eth/eth.c +++ b/src/ipcpd/eth/eth.c @@ -145,6 +145,8 @@ #define NAME_QUERY_REQ 2 #define NAME_QUERY_REPLY 3 +struct ipcp ipcpi; + struct mgmt_msg { #if defined(BUILD_ETH_DIX) uint16_t seid; -- cgit v1.2.3