r3480: moved some signal defines into include/system
authorAndrew Tridgell <tridge@samba.org>
Tue, 2 Nov 2004 11:53:44 +0000 (11:53 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 18:05:20 +0000 (13:05 -0500)
(This used to be commit a954e707ef5b23af84ef8f622336e36379c4a373)

source4/include/rewrite.h
source4/include/system/select.h
source4/include/system/wait.h
source4/lib/tdb/common/tdbutil.c

index 432be5609563b88dbae125d8a4a6dfeeb923355e..619942cac9c2de0aa26e5a0aa6e8d835a20e9f2f 100644 (file)
@@ -54,18 +54,6 @@ typedef int BOOL;
 #include "enums.h"
 #include "events.h"
 
-#ifndef LOCKING_VERSION
-#define LOCKING_VERSION 4
-#endif /* LOCKING_VERSION */
-
-#ifndef SIGNAL_CAST
-#define SIGNAL_CAST (RETSIGTYPE (*)(int))
-#endif
-
-#ifndef SELECT_CAST
-#define SELECT_CAST
-#endif
-
 /*
  * Loopback command offsets.
  */
index 0d8a5057e5b093a132aca285f464111e22d0bf91..2b800fd27012370541c7a07015cef830036c307e 100644 (file)
@@ -24,3 +24,7 @@
 #include <sys/select.h>
 #endif
 
+#ifndef SELECT_CAST
+#define SELECT_CAST
+#endif
+
index d4c47582ad61cfa65e28abecd6e26e3bb8ba2192..543233ce82d82a99bb7e220e1d241055f4feb6b2 100644 (file)
@@ -35,3 +35,7 @@ typedef int sig_atomic_t;
 #define SIGCLD SIGCHLD
 #endif
 
+#ifndef SIGNAL_CAST
+#define SIGNAL_CAST (RETSIGTYPE (*)(int))
+#endif
+
index c9b5dc05e6c825e292b52a6747fced266f8fb5b1..b5187162cf90b37bc3d3c5e9f031bbcd0b16f9af 100644 (file)
@@ -20,6 +20,7 @@
 
 #include "includes.h"
 #include "system/glob.h"
+#include "system/wait.h"
 #include "dlinklist.h"
 
 /* these are little tdb utility functions that are meant to make