Change in ...libosmocore[master]: logging: Move osmo_log_target_list from logging.h to logging_internal.h

This is merely a historical archive of years 2008-2021, before the migration to mailman3.

A maintained and still updated list archive can be found at https://lists.osmocom.org/hyperkitty/list/gerrit-log@lists.osmocom.org/.

pespin gerrit-no-reply at lists.osmocom.org
Tue Sep 17 18:23:39 UTC 2019


pespin has uploaded this change for review. ( https://gerrit.osmocom.org/c/libosmocore/+/15559


Change subject: logging: Move osmo_log_target_list from logging.h to logging_internal.h
......................................................................

logging: Move 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
---
M include/osmocom/core/logging.h
M include/osmocom/core/logging_internal.h
2 files changed, 1 insertion(+), 1 deletion(-)



  git pull ssh://gerrit.osmocom.org:29418/libosmocore refs/changes/59/15559/1

diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index 803b4a9..c2648f3 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -377,6 +377,5 @@
 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 01c96ce..2e65660 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);
 

-- 
To view, visit https://gerrit.osmocom.org/c/libosmocore/+/15559
To unsubscribe, or for help writing mail filters, visit https://gerrit.osmocom.org/settings

Gerrit-Project: libosmocore
Gerrit-Branch: master
Gerrit-Change-Id: I5dca069512bfcd0826194427c5482fad8bfd0232
Gerrit-Change-Number: 15559
Gerrit-PatchSet: 1
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-MessageType: newchange
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190917/45e59e7a/attachment.htm>


More information about the gerrit-log mailing list