diff options
author | Dimitri Staessens <dimitri@ouroboros.rocks> | 2020-05-18 21:42:17 +0200 |
---|---|---|
committer | Sander Vrijders <sander@ouroboros.rocks> | 2020-05-23 17:31:49 +0200 |
commit | d68bb3b678e867c69a99f97e26b72715e2b8e57f (patch) | |
tree | de8066252aecf9ec7a7166bda0fb6f8d70b9bafb /src/ipcpd/unicast/pol/multipath_pff.h | |
parent | 567f7dc6f68f8c246f821918de22423b035ef50e (diff) | |
download | ouroboros-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 <dimitri@ouroboros.rocks>
Signed-off-by: Sander Vrijders <sander@ouroboros.rocks>
Diffstat (limited to 'src/ipcpd/unicast/pol/multipath_pff.h')
-rw-r--r-- | src/ipcpd/unicast/pol/multipath_pff.h | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/ipcpd/unicast/pol/multipath_pff.h b/src/ipcpd/unicast/pol/multipath_pff.h index a8ee088f..ecbb664a 100644 --- a/src/ipcpd/unicast/pol/multipath_pff.h +++ b/src/ipcpd/unicast/pol/multipath_pff.h @@ -53,6 +53,6 @@ void multipath_pff_flush(struct pff_i * pff_i); int multipath_pff_nhop(struct pff_i * pff_i, uint64_t addr); -struct pol_pff_ops multipath_pff_ops; +extern struct pol_pff_ops multipath_pff_ops; #endif /* OUROBOROS_IPCPD_UNICAST_MULTIPATH_PFF_H */ |