From 7bfaba51b0477cbb87743cc45c64fad6b0b14d8d Mon Sep 17 00:00:00 2001 From: Pau Espin Pedrol Date: Tue, 17 Sep 2019 18:54:24 +0200 Subject: logging: Move extern declaration of osmo_log_target_list from logging.h to logging_internal.h This list is really not needed by applications and currently only used internally in logging.c and logging_vty.c. Change-Id: I5dca069512bfcd0826194427c5482fad8bfd0232 --- include/osmocom/core/logging.h | 1 - include/osmocom/core/logging_internal.h | 1 + 2 files changed, 1 insertion(+), 1 deletion(-) (limited to 'include/osmocom') diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h index e56d3a54..1a2d60bc 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 01c96ce3..2e656603 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); -- cgit v1.2.3