summaryrefslogtreecommitdiffstats
path: root/include
diff options
context:
space:
mode:
authorHarald Welte <laforge@gnumonks.org>2011-06-26 13:07:18 +0200
committerHarald Welte <laforge@gnumonks.org>2011-06-26 14:14:05 +0200
commit32e1f239b3b8f04c8f26c80ea87c978040c122bf (patch)
treec3fbdf930782559737d621a9f07c999045b6bfd7 /include
parent2a68c7c8cd2eca65c58c0898d0e1716e9d4c3ecd (diff)
merge process.[ch] with application.[ch]
Diffstat (limited to 'include')
-rw-r--r--include/osmocom/core/application.h2
-rw-r--r--include/osmocom/core/process.h8
2 files changed, 4 insertions, 6 deletions
diff --git a/include/osmocom/core/application.h b/include/osmocom/core/application.h
index c1642ec4..5d098961 100644
--- a/include/osmocom/core/application.h
+++ b/include/osmocom/core/application.h
@@ -13,4 +13,6 @@ extern struct log_target *osmo_stderr_target;
void osmo_init_ignore_signals(void);
int osmo_init_logging(const struct log_info *);
+int osmo_daemonize(void);
+
#endif
diff --git a/include/osmocom/core/process.h b/include/osmocom/core/process.h
index 2d663828..1dde0219 100644
--- a/include/osmocom/core/process.h
+++ b/include/osmocom/core/process.h
@@ -1,6 +1,2 @@
-#ifndef _OSMO_PROCESS_H
-#define _OSMO_PROCESS_H
-
-int osmo_daemonize(void);
-
-#endif
+#warning "Update from osmocom/core/process.h to osmocom/core/application.h"
+#include <osmocom/core/application.h>