[PATCH 2/4] Remove unecessary <sys/signal> includes

Felix Janda felix.janda at posteo.de
Sun Jun 1 03:47:26 CDT 2014


---
 configure.ac                | 1 -
 dlls/ntdll/signal_arm.c     | 3 ---
 dlls/ntdll/signal_arm64.c   | 3 ---
 dlls/ntdll/signal_i386.c    | 3 ---
 dlls/ntdll/signal_powerpc.c | 4 ----
 dlls/ntdll/signal_x86_64.c  | 3 ---
 include/config.h.in         | 3 ---
 7 files changed, 20 deletions(-)

diff --git a/configure.ac b/configure.ac
index 8089957..f2bb616 100644
--- a/configure.ac
+++ b/configure.ac
@@ -485,7 +485,6 @@ AC_CHECK_HEADERS(\
 	sys/resource.h \
 	sys/scsiio.h \
 	sys/shm.h \
-	sys/signal.h \
 	sys/socket.h \
 	sys/socketvar.h \
 	sys/sockio.h \
diff --git a/dlls/ntdll/signal_arm.c b/dlls/ntdll/signal_arm.c
index 0eb7ce0..7cc52c8 100644
--- a/dlls/ntdll/signal_arm.c
+++ b/dlls/ntdll/signal_arm.c
@@ -43,9 +43,6 @@
 #  include <sys/syscall.h>
 # endif
 #endif
-#ifdef HAVE_SYS_SIGNAL_H
-# include <sys/signal.h>
-#endif
 
 #define NONAMELESSUNION
 #define NONAMELESSSTRUCT
diff --git a/dlls/ntdll/signal_arm64.c b/dlls/ntdll/signal_arm64.c
index 2b82952..53b8938 100644
--- a/dlls/ntdll/signal_arm64.c
+++ b/dlls/ntdll/signal_arm64.c
@@ -42,9 +42,6 @@
 #  include <sys/syscall.h>
 # endif
 #endif
-#ifdef HAVE_SYS_SIGNAL_H
-# include <sys/signal.h>
-#endif
 
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
diff --git a/dlls/ntdll/signal_i386.c b/dlls/ntdll/signal_i386.c
index 5f8b8fd..02a8cd3 100644
--- a/dlls/ntdll/signal_i386.c
+++ b/dlls/ntdll/signal_i386.c
@@ -48,9 +48,6 @@
 # include <sys/vm86.h>
 #endif
 
-#ifdef HAVE_SYS_SIGNAL_H
-# include <sys/signal.h>
-#endif
 #ifdef HAVE_SYS_SYSCTL_H
 # include <sys/sysctl.h>
 #endif
diff --git a/dlls/ntdll/signal_powerpc.c b/dlls/ntdll/signal_powerpc.c
index a457bdf..9b49c89 100644
--- a/dlls/ntdll/signal_powerpc.c
+++ b/dlls/ntdll/signal_powerpc.c
@@ -43,10 +43,6 @@
 # endif
 #endif
 
-#ifdef HAVE_SYS_SIGNAL_H
-# include <sys/signal.h>
-#endif
-
 #include "ntstatus.h"
 #define WIN32_NO_STATUS
 #include "windef.h"
diff --git a/dlls/ntdll/signal_x86_64.c b/dlls/ntdll/signal_x86_64.c
index c6e9a9b..40a8ae9 100644
--- a/dlls/ntdll/signal_x86_64.c
+++ b/dlls/ntdll/signal_x86_64.c
@@ -44,9 +44,6 @@
 #ifdef HAVE_SYS_PARAM_H
 # include <sys/param.h>
 #endif
-#ifdef HAVE_SYS_SIGNAL_H
-# include <sys/signal.h>
-#endif
 
 #define NONAMELESSUNION
 #define NONAMELESSSTRUCT
diff --git a/include/config.h.in b/include/config.h.in
index 841c4f5..65bd1e3 100644
--- a/include/config.h.in
+++ b/include/config.h.in
@@ -987,9 +987,6 @@
 /* Define to 1 if you have the <sys/shm.h> header file. */
 #undef HAVE_SYS_SHM_H
 
-/* Define to 1 if you have the <sys/signal.h> header file. */
-#undef HAVE_SYS_SIGNAL_H
-
 /* Define to 1 if you have the <sys/socketvar.h> header file. */
 #undef HAVE_SYS_SOCKETVAR_H
 
-- 
1.8.5.5




More information about the wine-devel mailing list