b.liu | e958203 | 2025-04-17 19:18:16 +0800 | [diff] [blame^] | 1 | --- a/src-plugins/generic/nl80211_listener/nl80211_internal.h |
| 2 | +++ b/src-plugins/generic/nl80211_listener/nl80211_internal.h |
| 3 | @@ -49,6 +49,6 @@ |
| 4 | #include "core/oonf_logging.h" |
| 5 | |
| 6 | /* headers only for use inside the NL80211 subsystem */ |
| 7 | -enum oonf_log_source LOG_NL80211; |
| 8 | +extern enum oonf_log_source LOG_NL80211; |
| 9 | |
| 10 | #endif /* NL80211_INTERNAL_H_ */ |
| 11 | --- a/src-plugins/nhdp/nhdp/nhdp_internal.h |
| 12 | +++ b/src-plugins/nhdp/nhdp/nhdp_internal.h |
| 13 | @@ -49,8 +49,8 @@ |
| 14 | #include "core/oonf_logging.h" |
| 15 | |
| 16 | /* headers only for use inside the NHDP subsystem */ |
| 17 | -enum oonf_log_source LOG_NHDP; |
| 18 | -enum oonf_log_source LOG_NHDP_R; |
| 19 | -enum oonf_log_source LOG_NHDP_W; |
| 20 | +extern enum oonf_log_source LOG_NHDP; |
| 21 | +extern enum oonf_log_source LOG_NHDP_R; |
| 22 | +extern enum oonf_log_source LOG_NHDP_W; |
| 23 | |
| 24 | #endif /* NHDP_INTERNAL_H_ */ |
| 25 | --- a/src-plugins/olsrv2/olsrv2/olsrv2_internal.h |
| 26 | +++ b/src-plugins/olsrv2/olsrv2/olsrv2_internal.h |
| 27 | @@ -50,9 +50,9 @@ |
| 28 | #include "core/oonf_logging.h" |
| 29 | |
| 30 | /* headers only for use inside the OLSRv2 subsystem */ |
| 31 | -EXPORT enum oonf_log_source LOG_OLSRV2; |
| 32 | -EXPORT enum oonf_log_source LOG_OLSRV2_R; |
| 33 | -EXPORT enum oonf_log_source LOG_OLSRV2_ROUTING; |
| 34 | -EXPORT enum oonf_log_source LOG_OLSRV2_W; |
| 35 | +EXPORT extern enum oonf_log_source LOG_OLSRV2; |
| 36 | +EXPORT extern enum oonf_log_source LOG_OLSRV2_R; |
| 37 | +EXPORT extern enum oonf_log_source LOG_OLSRV2_ROUTING; |
| 38 | +EXPORT extern enum oonf_log_source LOG_OLSRV2_W; |
| 39 | |
| 40 | #endif /* OLSRV2_INTERNAL_H_ */ |