summaryrefslogtreecommitdiff
path: root/src/ipcpd/udp
diff options
context:
space:
mode:
authorDimitri Staessens <dimitri@ouroboros.rocks>2020-05-18 21:42:17 +0200
committerSander Vrijders <sander@ouroboros.rocks>2020-05-23 17:31:49 +0200
commitd68bb3b678e867c69a99f97e26b72715e2b8e57f (patch)
treede8066252aecf9ec7a7166bda0fb6f8d70b9bafb /src/ipcpd/udp
parent567f7dc6f68f8c246f821918de22423b035ef50e (diff)
downloadouroboros-0.17.5.tar.gz
ouroboros-0.17.5.zip
build: Add support for GCC 100.17.5
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 <dimitri@ouroboros.rocks> Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/udp')
-rw-r--r--src/ipcpd/udp/main.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/src/ipcpd/udp/main.c b/src/ipcpd/udp/main.c
index 04c21a8b..c59ea36d 100644
--- a/src/ipcpd/udp/main.c
+++ b/src/ipcpd/udp/main.c
@@ -77,6 +77,8 @@
#define MGMT_FRAME_SIZE (sizeof(struct mgmt_msg))
#define MGMT_FRAME_BUF_SIZE 2048
+struct ipcp ipcpi;
+
/* Keep order for alignment. */
struct mgmt_msg {
uint32_t eid;