summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/application.h6
1 files changed, 5 insertions, 1 deletions
diff --git a/include/osmocom/core/application.h b/include/osmocom/core/application.h
index 266fa9bb..edf59ed4 100644
--- a/include/osmocom/core/application.h
+++ b/include/osmocom/core/application.h
@@ -1,5 +1,7 @@
#pragma once
+#include <osmocom/core/defs.h>
+
/*!
* \file application.h
* Routines for helping with the osmocom application setup.
@@ -15,6 +17,8 @@ struct log_target;
extern struct log_target *osmo_stderr_target;
void osmo_init_ignore_signals(void);
-int osmo_init_logging(const struct log_info *);
+int osmo_init_logging(const struct log_info *)
+ OSMO_DEPRECATED("use osmo_init_logging2() instead to avoid a NULL talloc ctx");
+int osmo_init_logging2(void *ctx, const struct log_info *log_info);
int osmo_daemonize(void);