summaryrefslogtreecommitdiff
path: root/src/ipcpd/ipcp.h
diff options
context:
space:
mode:
authorDimitri Staessens <[email protected]>2020-05-18 21:42:17 +0200
committerSander Vrijders <[email protected]>2020-05-23 17:31:49 +0200
commitd68bb3b678e867c69a99f97e26b72715e2b8e57f (patch)
treede8066252aecf9ec7a7166bda0fb6f8d70b9bafb /src/ipcpd/ipcp.h
parent567f7dc6f68f8c246f821918de22423b035ef50e (diff)
downloadouroboros-d68bb3b678e867c69a99f97e26b72715e2b8e57f.tar.gz
ouroboros-d68bb3b678e867c69a99f97e26b72715e2b8e57f.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 <[email protected]> Signed-off-by: Sander Vrijders <[email protected]>
Diffstat (limited to 'src/ipcpd/ipcp.h')
-rw-r--r--src/ipcpd/ipcp.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/ipcp.h b/src/ipcpd/ipcp.h
index 02c74f50..84e0386a 100644
--- a/src/ipcpd/ipcp.h
+++ b/src/ipcpd/ipcp.h
@@ -79,7 +79,7 @@ struct ipcp_ops {
#define ipcp_dir_hash_strlen() (hash_len(ipcpi.dir_hash_algo) * 2)
#define ipcp_dir_hash_len() (hash_len(ipcpi.dir_hash_algo))
-struct ipcp {
+extern struct ipcp {
pid_t irmd_pid;
char * name;