From d7b4a300014ccf59928ed66fb19503a2c9b34649 Mon Sep 17 00:00:00 2001 From: Christopher Faylor Date: Sat, 25 May 2002 02:22:50 +0000 Subject: [PATCH] Remove unneeded sync.h, where appropriate, throughout. Remove unneeded heap.h, where appropriate, throughout. Remove unneeded exceptions.h, where appropriate, throughout. Remove unneeded perprocess.h, where appropriate, throughout. --- winsup/cygwin/ChangeLog | 7 +++++++ winsup/cygwin/dcrt0.cc | 2 -- winsup/cygwin/dir.cc | 2 -- winsup/cygwin/dll_init.cc | 1 - winsup/cygwin/dtable.cc | 1 - winsup/cygwin/environ.cc | 1 - winsup/cygwin/exec.cc | 1 - winsup/cygwin/external.cc | 1 - winsup/cygwin/fhandler_console.cc | 1 - winsup/cygwin/fhandler_serial.cc | 1 - winsup/cygwin/fhandler_termios.cc | 1 - winsup/cygwin/fhandler_tty.cc | 1 - winsup/cygwin/fork.cc | 1 - winsup/cygwin/grp.cc | 1 - winsup/cygwin/heap.cc | 1 - winsup/cygwin/mmap.cc | 1 - winsup/cygwin/net.cc | 1 - winsup/cygwin/passwd.cc | 1 - winsup/cygwin/path.cc | 1 - winsup/cygwin/pinfo.cc | 1 - winsup/cygwin/resource.cc | 1 - winsup/cygwin/sec_acl.cc | 2 -- winsup/cygwin/sec_helper.cc | 2 -- winsup/cygwin/security.cc | 2 -- winsup/cygwin/select.cc | 1 - winsup/cygwin/shared.cc | 1 - winsup/cygwin/shm.cc | 1 - winsup/cygwin/signal.cc | 1 - winsup/cygwin/spawn.cc | 2 -- winsup/cygwin/strace.cc | 1 - winsup/cygwin/syscalls.cc | 1 - winsup/cygwin/thread.cc | 1 - winsup/cygwin/times.cc | 2 -- winsup/cygwin/tty.cc | 1 - winsup/cygwin/uinfo.cc | 1 - winsup/cygwin/wait.cc | 1 - 36 files changed, 7 insertions(+), 42 deletions(-) diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4afbb3832..211ba00b1 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,10 @@ +2002-05-24 Christopher Faylor + + Remove unneeded sync.h, where appropriate, throughout. + Remove unneeded heap.h, where appropriate, throughout. + Remove unneeded exceptions.h, where appropriate, throughout. + Remove unneeded perprocess.h, where appropriate, throughout. + 2002-05-22 Pierre Humblet * security.cc (create_token): Call __sec_user() instead of diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 38b1df06d..bd164e03e 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -18,10 +18,8 @@ details. */ #include #include #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" -#include "heap.h" #include "cygerrno.h" #define NEED_VFORK #include "perprocess.h" diff --git a/winsup/cygwin/dir.cc b/winsup/cygwin/dir.cc index 0294c09ca..f575c9e90 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -18,13 +18,11 @@ details. */ #define _COMPILING_NEWLIB #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygerrno.h" #include "security.h" #include "fhandler.h" -#include "perprocess.h" #include "path.h" #include "dtable.h" #include "cygheap.h" diff --git a/winsup/cygwin/dll_init.cc b/winsup/cygwin/dll_init.cc index e5e650fa9..7336dfd66 100644 --- a/winsup/cygwin/dll_init.cc +++ b/winsup/cygwin/dll_init.cc @@ -9,7 +9,6 @@ details. */ #include "winsup.h" #include #include -#include "exceptions.h" #include "cygerrno.h" #include "perprocess.h" #include "dll_init.h" diff --git a/winsup/cygwin/dtable.cc b/winsup/cygwin/dtable.cc index 3c91e50af..2a43b0bfd 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -22,7 +22,6 @@ details. */ #define USE_SYS_TYPES_FD_SET #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygerrno.h" diff --git a/winsup/cygwin/environ.cc b/winsup/cygwin/environ.cc index 3857c4496..93c87fb93 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -15,7 +15,6 @@ details. */ #include #include #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "perprocess.h" diff --git a/winsup/cygwin/exec.cc b/winsup/cygwin/exec.cc index 21b18cfcf..f3fab2ac7 100644 --- a/winsup/cygwin/exec.cc +++ b/winsup/cygwin/exec.cc @@ -17,7 +17,6 @@ details. */ #include "security.h" #include "fhandler.h" #include "path.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "environ.h" diff --git a/winsup/cygwin/external.cc b/winsup/cygwin/external.cc index 06f131f24..3cbf9c0b2 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -14,7 +14,6 @@ details. */ #include #include "security.h" #include "fhandler.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 3598810cb..41d2e6e63 100644 --- a/winsup/cygwin/fhandler_console.cc +++ b/winsup/cygwin/fhandler_console.cc @@ -27,7 +27,6 @@ details. */ #include "path.h" #include "dtable.h" #include "cygheap.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "shared_info.h" diff --git a/winsup/cygwin/fhandler_serial.cc b/winsup/cygwin/fhandler_serial.cc index b4a813b04..7d64f1efc 100644 --- a/winsup/cygwin/fhandler_serial.cc +++ b/winsup/cygwin/fhandler_serial.cc @@ -16,7 +16,6 @@ details. */ #include "cygerrno.h" #include "security.h" #include "fhandler.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc index 094c1705d..7a64c64ce 100644 --- a/winsup/cygwin/fhandler_termios.cc +++ b/winsup/cygwin/fhandler_termios.cc @@ -18,7 +18,6 @@ details. */ #include "cygerrno.h" #include "security.h" #include "fhandler.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "tty.h" diff --git a/winsup/cygwin/fhandler_tty.cc b/winsup/cygwin/fhandler_tty.cc index ea9cab30b..8df24c1f7 100644 --- a/winsup/cygwin/fhandler_tty.cc +++ b/winsup/cygwin/fhandler_tty.cc @@ -21,7 +21,6 @@ details. */ #include "fhandler.h" #include "path.h" #include "dtable.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygheap.h" diff --git a/winsup/cygwin/fork.cc b/winsup/cygwin/fork.cc index b0c893dce..c204fdd51 100644 --- a/winsup/cygwin/fork.cc +++ b/winsup/cygwin/fork.cc @@ -20,7 +20,6 @@ details. */ #include "path.h" #include "dtable.h" #include "cygerrno.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygheap.h" diff --git a/winsup/cygwin/grp.cc b/winsup/cygwin/grp.cc index d88deb994..4002fbc00 100644 --- a/winsup/cygwin/grp.cc +++ b/winsup/cygwin/grp.cc @@ -17,7 +17,6 @@ details. */ #include #include #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "security.h" diff --git a/winsup/cygwin/heap.cc b/winsup/cygwin/heap.cc index 9a3e2b87a..eebcd9266 100644 --- a/winsup/cygwin/heap.cc +++ b/winsup/cygwin/heap.cc @@ -11,7 +11,6 @@ details. */ #include "winsup.h" #include #include "cygerrno.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "heap.h" diff --git a/winsup/cygwin/mmap.cc b/winsup/cygwin/mmap.cc index 93afa856c..78620733b 100644 --- a/winsup/cygwin/mmap.cc +++ b/winsup/cygwin/mmap.cc @@ -20,7 +20,6 @@ details. */ #include "dtable.h" #include "cygerrno.h" #include "cygheap.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "sys/cygwin.h" diff --git a/winsup/cygwin/net.cc b/winsup/cygwin/net.cc index c91f0af50..2a7752179 100644 --- a/winsup/cygwin/net.cc +++ b/winsup/cygwin/net.cc @@ -30,7 +30,6 @@ details. */ #include "path.h" #include "dtable.h" #include "cygheap.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "registry.h" diff --git a/winsup/cygwin/passwd.cc b/winsup/cygwin/passwd.cc index dfabd1b7f..744fcd652 100644 --- a/winsup/cygwin/passwd.cc +++ b/winsup/cygwin/passwd.cc @@ -18,7 +18,6 @@ details. */ #include "fhandler.h" #include "path.h" #include "dtable.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygheap.h" diff --git a/winsup/cygwin/path.cc b/winsup/cygwin/path.cc index 14c5d006d..d3da42a4e 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -64,7 +64,6 @@ details. */ #include #include #include "cygerrno.h" -#include "perprocess.h" #include "security.h" #include "fhandler.h" #include "path.h" diff --git a/winsup/cygwin/pinfo.cc b/winsup/cygwin/pinfo.cc index 4531a8b19..4eda09080 100644 --- a/winsup/cygwin/pinfo.cc +++ b/winsup/cygwin/pinfo.cc @@ -18,7 +18,6 @@ details. */ #include "path.h" #include "dtable.h" #include "cygerrno.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygwin_version.h" diff --git a/winsup/cygwin/resource.cc b/winsup/cygwin/resource.cc index e9121e94c..ca6cefc01 100644 --- a/winsup/cygwin/resource.cc +++ b/winsup/cygwin/resource.cc @@ -17,7 +17,6 @@ details. */ #include #include #include "cygerrno.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "psapi.h" diff --git a/winsup/cygwin/sec_acl.cc b/winsup/cygwin/sec_acl.cc index 36c31a840..0ef423f7b 100644 --- a/winsup/cygwin/sec_acl.cc +++ b/winsup/cygwin/sec_acl.cc @@ -24,12 +24,10 @@ details. */ #include #include #include "cygerrno.h" -#include "perprocess.h" #include "security.h" #include "fhandler.h" #include "path.h" #include "dtable.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygheap.h" diff --git a/winsup/cygwin/sec_helper.cc b/winsup/cygwin/sec_helper.cc index 2f9b9b60c..365364d9f 100644 --- a/winsup/cygwin/sec_helper.cc +++ b/winsup/cygwin/sec_helper.cc @@ -25,12 +25,10 @@ details. */ #include #include #include "cygerrno.h" -#include "perprocess.h" #include "security.h" #include "fhandler.h" #include "path.h" #include "dtable.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygheap.h" diff --git a/winsup/cygwin/security.cc b/winsup/cygwin/security.cc index a5d5fa766..3b577825c 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -29,12 +29,10 @@ details. */ #include #include #include "cygerrno.h" -#include "perprocess.h" #include "security.h" #include "fhandler.h" #include "path.h" #include "dtable.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygheap.h" diff --git a/winsup/cygwin/select.cc b/winsup/cygwin/select.cc index b623baa92..b50ffb1f2 100644 --- a/winsup/cygwin/select.cc +++ b/winsup/cygwin/select.cc @@ -39,7 +39,6 @@ details. */ #include "path.h" #include "dtable.h" #include "cygheap.h" -#include "sync.h" #include "sigproc.h" #include "perthread.h" #include "tty.h" diff --git a/winsup/cygwin/shared.cc b/winsup/cygwin/shared.cc index a1ad5e8a2..b3872a5a3 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -15,7 +15,6 @@ details. */ #include #include #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "security.h" diff --git a/winsup/cygwin/shm.cc b/winsup/cygwin/shm.cc index 0c65d7724..8dcf54c99 100644 --- a/winsup/cygwin/shm.cc +++ b/winsup/cygwin/shm.cc @@ -23,7 +23,6 @@ #include #include "thread.h" #include -#include "perprocess.h" #include "cygserver_shm.h" // FIXME IS THIS CORRECT diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index 5a00a7fca..5b42a1ff1 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -16,7 +16,6 @@ details. */ #include #include "cygerrno.h" #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 3da30de85..b18d7b47d 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -21,12 +21,10 @@ details. */ #include #include "cygerrno.h" #include -#include "perprocess.h" #include "security.h" #include "fhandler.h" #include "path.h" #include "dtable.h" -#include "sync.h" #include "sigproc.h" #include "cygheap.h" #include "child_info.h" diff --git a/winsup/cygwin/strace.cc b/winsup/cygwin/strace.cc index 795d36636..afb388206 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -14,7 +14,6 @@ details. */ #include #include #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "perprocess.h" diff --git a/winsup/cygwin/syscalls.cc b/winsup/cygwin/syscalls.cc index 24d44bb8e..ff3a4096f 100644 --- a/winsup/cygwin/syscalls.cc +++ b/winsup/cygwin/syscalls.cc @@ -32,7 +32,6 @@ details. */ #include "fhandler.h" #include "path.h" #include "dtable.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 7ee5714e9..0f09e3718 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -37,7 +37,6 @@ details. */ #include #include #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "perprocess.h" diff --git a/winsup/cygwin/times.cc b/winsup/cygwin/times.cc index 21b0a31e2..842d383b2 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -17,11 +17,9 @@ details. */ #include #include #include "cygerrno.h" -#include "perprocess.h" #include "security.h" #include "fhandler.h" #include "path.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "hires.h" diff --git a/winsup/cygwin/tty.cc b/winsup/cygwin/tty.cc index 52ef8e43a..e9e13c363 100644 --- a/winsup/cygwin/tty.cc +++ b/winsup/cygwin/tty.cc @@ -21,7 +21,6 @@ details. */ #include "path.h" #include "dtable.h" #include "cygheap.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "cygwin/cygserver_transport.h" diff --git a/winsup/cygwin/uinfo.cc b/winsup/cygwin/uinfo.cc index 3e3513a16..6a6b702c7 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -19,7 +19,6 @@ details. */ #include #include #include -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include "security.h" diff --git a/winsup/cygwin/wait.cc b/winsup/cygwin/wait.cc index 0fa3005cf..d6e5bf7f2 100644 --- a/winsup/cygwin/wait.cc +++ b/winsup/cygwin/wait.cc @@ -13,7 +13,6 @@ details. */ #include #include #include "cygerrno.h" -#include "sync.h" #include "sigproc.h" #include "perthread.h" -- 2.43.5