Change in ...libosmocore[master]: logging: Move extern declaration of osmo_log_target_list from logging...

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/.

laforge gerrit-no-reply at lists.osmocom.org
Fri Sep 20 15:21:33 UTC 2019


laforge has submitted this change and it was merged. ( https://gerrit.osmocom.org/c/libosmocore/+/15559 )

Change subject: logging: Move extern declaration of osmo_log_target_list from logging.h to logging_internal.h
......................................................................

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

Approvals:
  laforge: Looks good to me, approved
  Jenkins Builder: Verified



diff --git a/include/osmocom/core/logging.h b/include/osmocom/core/logging.h
index e56d3a5..1a2d60b 100644
--- a/include/osmocom/core/logging.h
+++ b/include/osmocom/core/logging.h
@@ -379,6 +379,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: 3
Gerrit-Owner: pespin <pespin at sysmocom.de>
Gerrit-Reviewer: Jenkins Builder
Gerrit-Reviewer: laforge <laforge at gnumonks.org>
Gerrit-CC: neels <nhofmeyr at sysmocom.de>
Gerrit-MessageType: merged
-------------- next part --------------
An HTML attachment was scrubbed...
URL: <http://lists.osmocom.org/pipermail/gerrit-log/attachments/20190920/c0194c37/attachment.htm>


More information about the gerrit-log mailing list