summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorPau Espin Pedrol <pespin@sysmocom.de>2019-09-17 18:54:24 +0200
committerlaforge <laforge@gnumonks.org>2019-09-20 15:21:33 +0000
commit7bfaba51b0477cbb87743cc45c64fad6b0b14d8d (patch)
tree9bb83a83a5edcd0c72fb48163dab266b58456bf6 /include
parenta6097132462ed053f1a699174d4625c7d4ae25eb (diff)
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
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/logging.h1
-rw-r--r--include/osmocom/core/logging_internal.h1
2 files changed, 1 insertions, 1 deletions
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);