File removed-deprecated-xdaemon.patch of Package slurm

From: Egbert Eich <eich@suse.com>
Date: Tue Nov 20 11:54:02 2018 +0100
Subject: removed deprecated xdaemon
Patch-mainline: Not yet
Git-commit: b39551df0f202203c16d4e9a9a7b640691acf882
References: bsc#1084125

Signed-off-by: Egbert Eich <eich@suse.com>
---
 slurm-18.08.3/src/common/daemonize.c | 12 ------------
 slurm-18.08.3/src/common/daemonize.h |  1 -
 2 files changed, 13 deletions(-)
diff --git a/slurm-18.08.3/src/common/daemonize.c b/slurm-18.08.3/src/common/daemonize.c
index fee9d60..bec8202 100644
--- a/src/common/daemonize.c
+++ b/src/common/daemonize.c
@@ -138,18 +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.
  * Returns 0 if file doesn't exist or pid cannot be read.
diff --git a/slurm-18.08.3/src/common/daemonize.h b/slurm-18.08.3/src/common/daemonize.h
index 8b60b4f..b7cb625 100644
--- a/src/common/daemonize.h
+++ b/src/common/daemonize.h
@@ -44,7 +44,6 @@
  * Start fork process into background and inherit new session.
  *
  */
-extern int xdaemon(void);
 extern int xdaemon_init(void);
 
 /*
openSUSE Build Service is sponsored by