diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h index e56d3a542..1a2d60bcb 100644 --- a/include/osmocom/core/logging.h +++ b/include/osmocom/core/logging.h @@ -379,6 +379,5 @@ void log_add_target(struct log_target *target); void log_del_target(struct log_target *target); struct log_target *log_target_find(int type, const char *fname); -extern struct llist_head osmo_log_target_list; /*! @} */ diff --git a/include/osmocom/core/logging_internal.h b/include/osmocom/core/logging_internal.h index 01c96ce34..2e6566037 100644 --- a/include/osmocom/core/logging_internal.h +++ b/include/osmocom/core/logging_internal.h @@ -9,6 +9,7 @@ extern void *tall_log_ctx; extern struct log_info *osmo_log_info; extern const struct value_string loglevel_strs[]; +extern struct llist_head osmo_log_target_list; void assert_loginfo(const char *src);