oons-dlep-radio: fix compilation with GCC 10
[feed/routing.git] / oonf-dlep-radio / patches / 010-gcc10.patch
1 --- a/src-plugins/generic/dlep/radio/dlep_radio_internal.h
2 +++ b/src-plugins/generic/dlep/radio/dlep_radio_internal.h
3 @@ -49,6 +49,6 @@
4 #include "core/oonf_logging.h"
5
6 /* headers only for use inside the DLEP_RADIO subsystem */
7 -enum oonf_log_source LOG_DLEP_RADIO;
8 +extern enum oonf_log_source LOG_DLEP_RADIO;
9
10 #endif /* DLEP_RADIO_INTERNAL_H_ */
11 --- a/src-plugins/generic/nl80211_listener/nl80211_internal.h
12 +++ b/src-plugins/generic/nl80211_listener/nl80211_internal.h
13 @@ -49,6 +49,6 @@
14 #include "core/oonf_logging.h"
15
16 /* headers only for use inside the NL80211 subsystem */
17 -enum oonf_log_source LOG_NL80211;
18 +extern enum oonf_log_source LOG_NL80211;
19
20 #endif /* NL80211_INTERNAL_H_ */