Merge pull request #599 from neheb/oon3

oonf-dlep-proxy: fix compilation with GCC 10
This commit is contained in:
Moritz Warning 2020-09-30 17:09:33 +02:00 committed by GitHub
commit de3a284abc
No known key found for this signature in database
GPG Key ID: 4AEE18F83AFDEB23
1 changed files with 30 additions and 0 deletions

View File

@ -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_ */