summaryrefslogtreecommitdiff
path: root/source4/include
diff options
context:
space:
mode:
Diffstat (limited to 'source4/include')
-rw-r--r--source4/include/rewrite.h12
-rw-r--r--source4/include/system/select.h4
-rw-r--r--source4/include/system/wait.h4
3 files changed, 8 insertions, 12 deletions
diff --git a/source4/include/rewrite.h b/source4/include/rewrite.h
index 432be56095..619942cac9 100644
--- a/source4/include/rewrite.h
+++ b/source4/include/rewrite.h
@@ -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.
*/
diff --git a/source4/include/system/select.h b/source4/include/system/select.h
index 0d8a5057e5..2b800fd270 100644
--- a/source4/include/system/select.h
+++ b/source4/include/system/select.h
@@ -24,3 +24,7 @@
#include <sys/select.h>
#endif
+#ifndef SELECT_CAST
+#define SELECT_CAST
+#endif
+
diff --git a/source4/include/system/wait.h b/source4/include/system/wait.h
index d4c47582ad..543233ce82 100644
--- a/source4/include/system/wait.h
+++ b/source4/include/system/wait.h
@@ -35,3 +35,7 @@ typedef int sig_atomic_t;
#define SIGCLD SIGCHLD
#endif
+#ifndef SIGNAL_CAST
+#define SIGNAL_CAST (RETSIGTYPE (*)(int))
+#endif
+