File removed-deprecated-xdaemon.patch of Package slurm.15688

From 783f241cc56d789bf795efc7172672da1c8b2a10 Mon Sep 17 00:00:00 2001
From: Christian Goll <cgoll@suse.de>
Date: Mon, 9 Apr 2018 11:52:58 +0200
Subject: [PATCH 6/6] removed deprecated xdaemon

---
 src/common/daemonize.c | 11 -----------
 src/common/daemonize.h |  1 -
 2 files changed, 12 deletions(-)

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
index 8b2a866b61..4ec16f22b0 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);
 
 /*
-- 
2.13.7

openSUSE Build Service is sponsored by