2018-06-11 12:31:14 +02:00
|
|
|
From 783f241cc56d789bf795efc7172672da1c8b2a10 Mon Sep 17 00:00:00 2001
|
2018-04-12 18:42:36 +02:00
|
|
|
From: Christian Goll <cgoll@suse.de>
|
2018-06-11 12:31:14 +02:00
|
|
|
Date: Mon, 9 Apr 2018 11:52:58 +0200
|
|
|
|
Subject: [PATCH 6/6] removed deprecated xdaemon
|
2018-04-12 18:42:36 +02:00
|
|
|
|
|
|
|
---
|
|
|
|
src/common/daemonize.c | 11 -----------
|
2018-06-11 12:31:14 +02:00
|
|
|
src/common/daemonize.h | 1 -
|
|
|
|
2 files changed, 12 deletions(-)
|
2018-04-12 18:42:36 +02:00
|
|
|
|
|
|
|
diff --git a/src/common/daemonize.c b/src/common/daemonize.c
|
|
|
|
index 2987a40af0..32dc79c577 100644
|
|
|
|
--- a/src/common/daemonize.c
|
|
|
|
+++ b/src/common/daemonize.c
|
|
|
|
@@ -138,17 +138,6 @@ void xdaemon_finish(int fd)
|
|
|
|
}
|
|
|
|
}
|
|
|
|
|
|
|
|
-/*
|
|
|
|
- * keep depercated api
|
|
|
|
- */
|
|
|
|
-
|
|
|
|
-int xdaemon(void)
|
|
|
|
-{
|
|
|
|
- int ret_val;
|
|
|
|
- ret_val= xdaemon_init();
|
|
|
|
- xdaemon_finish(ret_val);
|
|
|
|
- return ret_val;
|
|
|
|
-}
|
|
|
|
|
|
|
|
/*
|
|
|
|
* Read and return pid stored in pidfile.
|
|
|
|
diff --git a/src/common/daemonize.h b/src/common/daemonize.h
|
2018-06-11 12:31:14 +02:00
|
|
|
index 8b2a866b61..4ec16f22b0 100644
|
2018-04-12 18:42:36 +02:00
|
|
|
--- a/src/common/daemonize.h
|
|
|
|
+++ b/src/common/daemonize.h
|
2018-06-11 12:31:14 +02:00
|
|
|
@@ -44,7 +44,6 @@
|
|
|
|
* Start fork process into background and inherit new session.
|
|
|
|
*
|
2018-04-12 18:42:36 +02:00
|
|
|
*/
|
|
|
|
-extern int xdaemon(void);
|
2018-06-11 12:31:14 +02:00
|
|
|
extern int xdaemon_init(void);
|
|
|
|
|
|
|
|
/*
|
|
|
|
--
|
|
|
|
2.13.7
|
|
|
|
|