1
0
mirror of https://git.openwrt.org/feed/routing.git synced 2024-06-13 10:49:15 +02:00
openwrt-routing/oonf-dlep-radio/patches/010-gcc10.patch
Rosen Penev 9c4bb575b2
oons-dlep-radio: fix compilation with GCC 10
Signed-off-by: Rosen Penev <rosenp@gmail.com>
2020-08-11 12:39:15 -07:00

21 lines
698 B
Diff

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