diff options
author | Christopher Faylor <me@cgf.cx> | 2002-05-25 02:22:50 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-05-25 02:22:50 +0000 |
commit | d7b4a300014ccf59928ed66fb19503a2c9b34649 (patch) | |
tree | f931487a87e01ab48dbd5b4d1cd98f24e6662f97 | |
parent | d29587b4789426217ace96c1dccb249e3682eaf8 (diff) | |
download | newlib-d7b4a300014ccf59928ed66fb19503a2c9b34649.zip newlib-d7b4a300014ccf59928ed66fb19503a2c9b34649.tar.gz newlib-d7b4a300014ccf59928ed66fb19503a2c9b34649.tar.bz2 |
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.
36 files changed, 7 insertions, 42 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 4afbb38..211ba00 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,10 @@ +2002-05-24 Christopher Faylor <cgf@redhat.com> + + 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 <pierre.humblet@ieee.org> * security.cc (create_token): Call __sec_user() instead of diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 38b1df0..bd164e0 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -18,10 +18,8 @@ details. */ #include <wingdi.h> #include <winuser.h> #include <errno.h> -#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 0294c09..f575c9e 100644 --- a/winsup/cygwin/dir.cc +++ b/winsup/cygwin/dir.cc @@ -18,13 +18,11 @@ details. */ #define _COMPILING_NEWLIB #include <dirent.h> -#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 e5e650f..7336dfd 100644 --- a/winsup/cygwin/dll_init.cc +++ b/winsup/cygwin/dll_init.cc @@ -9,7 +9,6 @@ details. */ #include "winsup.h" #include <stdlib.h> #include <errno.h> -#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 3c91e50..2a43b0b 100644 --- a/winsup/cygwin/dtable.cc +++ b/winsup/cygwin/dtable.cc @@ -22,7 +22,6 @@ details. */ #define USE_SYS_TYPES_FD_SET #include <winsock.h> -#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 3857c44..93c87fb 100644 --- a/winsup/cygwin/environ.cc +++ b/winsup/cygwin/environ.cc @@ -15,7 +15,6 @@ details. */ #include <fcntl.h> #include <sys/cygwin.h> #include <cygwin/version.h> -#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 21b18cf..f3fab2a 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 06f131f..3cbf9c0 100644 --- a/winsup/cygwin/external.cc +++ b/winsup/cygwin/external.cc @@ -14,7 +14,6 @@ details. */ #include <errno.h> #include "security.h" #include "fhandler.h" -#include "sync.h" #include "sigproc.h" #include "pinfo.h" #include <exceptions.h> diff --git a/winsup/cygwin/fhandler_console.cc b/winsup/cygwin/fhandler_console.cc index 3598810..41d2e6e 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 b4a813b..7d64f1e 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 <sys/termios.h> diff --git a/winsup/cygwin/fhandler_termios.cc b/winsup/cygwin/fhandler_termios.cc index 094c170..7a64c64 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 ea9cab3..8df24c1 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 b0c893d..c204fdd 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 d88deb9..4002fbc 100644 --- a/winsup/cygwin/grp.cc +++ b/winsup/cygwin/grp.cc @@ -17,7 +17,6 @@ details. */ #include <stdio.h> #include <stdlib.h> #include <errno.h> -#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 9a3e2b8..eebcd92 100644 --- a/winsup/cygwin/heap.cc +++ b/winsup/cygwin/heap.cc @@ -11,7 +11,6 @@ details. */ #include "winsup.h" #include <errno.h> #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 93afa85..7862073 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 c91f0af..2a77521 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 dfabd1b..744fcd6 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 14c5d00..d3da42a 100644 --- a/winsup/cygwin/path.cc +++ b/winsup/cygwin/path.cc @@ -64,7 +64,6 @@ details. */ #include <sys/cygwin.h> #include <cygwin/version.h> #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 4531a8b..4eda090 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 e9121e9..ca6cefc 100644 --- a/winsup/cygwin/resource.cc +++ b/winsup/cygwin/resource.cc @@ -17,7 +17,6 @@ details. */ #include <unistd.h> #include <limits.h> #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 36c31a8..0ef423f 100644 --- a/winsup/cygwin/sec_acl.cc +++ b/winsup/cygwin/sec_acl.cc @@ -24,12 +24,10 @@ details. */ #include <wingdi.h> #include <winuser.h> #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 2f9b9b6..365364d 100644 --- a/winsup/cygwin/sec_helper.cc +++ b/winsup/cygwin/sec_helper.cc @@ -25,12 +25,10 @@ details. */ #include <winuser.h> #include <wininet.h> #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 a5d5fa7..3b57782 100644 --- a/winsup/cygwin/security.cc +++ b/winsup/cygwin/security.cc @@ -29,12 +29,10 @@ details. */ #include <ntsecapi.h> #include <subauth.h> #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 b623baa..b50ffb1 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 a1ad5e8..b3872a5 100644 --- a/winsup/cygwin/shared.cc +++ b/winsup/cygwin/shared.cc @@ -15,7 +15,6 @@ details. */ #include <grp.h> #include <pwd.h> #include <errno.h> -#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 0c65d77..8dcf54c 100644 --- a/winsup/cygwin/shm.cc +++ b/winsup/cygwin/shm.cc @@ -23,7 +23,6 @@ #include <stdio.h> #include "thread.h" #include <sys/shm.h> -#include "perprocess.h" #include "cygserver_shm.h" // FIXME IS THIS CORRECT diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc index 5a00a7f..5b42a1f 100644 --- a/winsup/cygwin/signal.cc +++ b/winsup/cygwin/signal.cc @@ -16,7 +16,6 @@ details. */ #include <stdlib.h> #include "cygerrno.h" #include <sys/cygwin.h> -#include "sync.h" #include "sigproc.h" #include "pinfo.h" diff --git a/winsup/cygwin/spawn.cc b/winsup/cygwin/spawn.cc index 3da30de..b18d7b4 100644 --- a/winsup/cygwin/spawn.cc +++ b/winsup/cygwin/spawn.cc @@ -21,12 +21,10 @@ details. */ #include <ctype.h> #include "cygerrno.h" #include <sys/cygwin.h> -#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 795d366..afb3882 100644 --- a/winsup/cygwin/strace.cc +++ b/winsup/cygwin/strace.cc @@ -14,7 +14,6 @@ details. */ #include <wingdi.h> #include <winuser.h> #include <ctype.h> -#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 24d44bb..ff3a409 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 <unistd.h> diff --git a/winsup/cygwin/thread.cc b/winsup/cygwin/thread.cc index 7ee5714..0f09e37 100644 --- a/winsup/cygwin/thread.cc +++ b/winsup/cygwin/thread.cc @@ -37,7 +37,6 @@ details. */ #include <assert.h> #include <stdlib.h> #include <syslog.h> -#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 21b0a31..842d383 100644 --- a/winsup/cygwin/times.cc +++ b/winsup/cygwin/times.cc @@ -17,11 +17,9 @@ details. */ #include <stdlib.h> #include <errno.h> #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 52ef8e4..e9e13c3 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 3e3513a..6a6b702 100644 --- a/winsup/cygwin/uinfo.cc +++ b/winsup/cygwin/uinfo.cc @@ -19,7 +19,6 @@ details. */ #include <lm.h> #include <errno.h> #include <sys/cygwin.h> -#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 0fa3005..d6e5bf7 100644 --- a/winsup/cygwin/wait.cc +++ b/winsup/cygwin/wait.cc @@ -13,7 +13,6 @@ details. */ #include <stdlib.h> #include <errno.h> #include "cygerrno.h" -#include "sync.h" #include "sigproc.h" #include "perthread.h" |