summaryrefslogtreecommitdiff
path: root/oonf-dlep-proxy
diff options
context:
space:
mode:
authorRosen Penev <rosenp@gmail.com>2020-08-11 12:31:02 -0700
committerRosen Penev <rosenp@gmail.com>2020-08-11 12:39:39 -0700
commit78d72b68f5a77726f2a340a6707b606002afae23 (patch)
tree97dde79d9c965bf455c0de7ad69f57e63758773d /oonf-dlep-proxy
parent8f9aa112b54492964c00ebe6404e53eb869b0404 (diff)
oonf-dlep-proxy: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
Diffstat (limited to 'oonf-dlep-proxy')
-rw-r--r--oonf-dlep-proxy/patches/010-gcc10.patch30
1 files changed, 30 insertions, 0 deletions
diff --git a/oonf-dlep-proxy/patches/010-gcc10.patch b/oonf-dlep-proxy/patches/010-gcc10.patch
new file mode 100644
index 0000000..c5415fd
--- /dev/null
+++ b/oonf-dlep-proxy/patches/010-gcc10.patch
@@ -0,0 +1,30 @@
+--- a/src-plugins/generic/dlep/radio/dlep_radio_internal.h
++++ b/src-plugins/generic/dlep/radio/dlep_radio_internal.h
+@@ -49,6 +49,6 @@
+ #include "core/oonf_logging.h"
+
+ /* headers only for use inside the DLEP_RADIO subsystem */
+-enum oonf_log_source LOG_DLEP_RADIO;
++extern enum oonf_log_source LOG_DLEP_RADIO;
+
+ #endif /* DLEP_RADIO_INTERNAL_H_ */
+--- a/src-plugins/generic/dlep/router/dlep_router_internal.h
++++ b/src-plugins/generic/dlep/router/dlep_router_internal.h
+@@ -49,6 +49,6 @@
+ #include "core/oonf_logging.h"
+
+ /* headers only for use inside the DLEP_ROUTER subsystem */
+-enum oonf_log_source LOG_DLEP_ROUTER;
++extern enum oonf_log_source LOG_DLEP_ROUTER;
+
+ #endif /* DLEP_ROUTER_INTERNAL_H_ */
+--- a/src-plugins/generic/nl80211_listener/nl80211_internal.h
++++ b/src-plugins/generic/nl80211_listener/nl80211_internal.h
+@@ -49,6 +49,6 @@
+ #include "core/oonf_logging.h"
+
+ /* headers only for use inside the NL80211 subsystem */
+-enum oonf_log_source LOG_NL80211;
++extern enum oonf_log_source LOG_NL80211;
+
+ #endif /* NL80211_INTERNAL_H_ */