lib: util [ctdb]: Signal handling - change CatchChild() and CatchChildLeaveStatus...
[sfrench/samba-autobuild/.git] / ctdb / lib / util / util.h
index c7734d184742c1618c0228b4d99ad54c402eb50a..87aaa451e721aa2e777737b1a6ca12fd3733f32f 100644 (file)
@@ -100,12 +100,12 @@ void (*CatchSignal(int signum,void (*handler)(int )))(int);
 /**
  Ignore SIGCLD via whatever means is necessary for this OS.
 **/
-void CatchChild(void);
+void (*CatchChild(void))(int);
 
 /**
  Catch SIGCLD but leave the child around so it's status can be reaped.
 **/
-void CatchChildLeaveStatus(void);
+void (*CatchChildLeaveStatus(void))(int);
 
 
 /* The following definitions come from lib/util/util_str.c  */