Remove unneeded header files from source files throughout.

This commit is contained in:
Christopher Faylor 2008-04-07 18:45:59 +00:00
parent f471ca85e1
commit b13e6864f5
94 changed files with 4 additions and 412 deletions

View File

@ -1,3 +1,7 @@
2008-04-07 Christopher Faylor <me+cygwin@cgf.cx>
Remove unneeded header files from source files throughout.
2008-04-07 Corinna Vinschen <corinna@vinschen.de> 2008-04-07 Corinna Vinschen <corinna@vinschen.de>
* postinstall: Add function print_flags and call where appropriate. * postinstall: Add function print_flags and call where appropriate.

View File

@ -15,7 +15,6 @@ details. */
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h>
/* This function is called when the assert macro fails. This will /* This function is called when the assert macro fails. This will
override the function of the same name in newlib. */ override the function of the same name in newlib. */

View File

@ -9,7 +9,6 @@
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <string.h>
#include <assert.h> #include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include "cygerrno.h" #include "cygerrno.h"
@ -20,7 +19,6 @@
#include "cygheap.h" #include "cygheap.h"
#include "child_info.h" #include "child_info.h"
#include "heap.h" #include "heap.h"
#include "sync.h"
#include "sigproc.h" #include "sigproc.h"
#include "pinfo.h" #include "pinfo.h"
#include <unistd.h> #include <unistd.h>

View File

@ -8,12 +8,7 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <windows.h>
#include <stdlib.h> #include <stdlib.h>
#include "exceptions.h"
#include "security.h"
#include "sync.h"
#include "cygerrno.h"
#include "sigproc.h" #include "sigproc.h"
#include "thread.h" #include "thread.h"
#include "cygtls.h" #include "cygtls.h"

View File

@ -7,23 +7,15 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <sys/time.h>
#define USE_SYS_TYPES_FD_SET #define USE_SYS_TYPES_FD_SET
#include <winsock.h>
#include "thread.h" #include "thread.h"
#include "cygtls.h" #include "cygtls.h"
#include "assert.h"
#include <syslog.h> #include <syslog.h>
#include <signal.h>
#include <malloc.h> #include <malloc.h>
#include "exceptions.h"
#include "sync.h"
#include "cygerrno.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "pinfo.h"
#include "sigproc.h" #include "sigproc.h"
class sentry class sentry

View File

@ -8,11 +8,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <malloc.h>
#include "sync.h"
#include "sigproc.h"
#include "pinfo.h"
#include "perprocess.h"
#include "security.h" #include "security.h"
#include "cygerrno.h" #include "cygerrno.h"
#ifdef DEBUGGING #ifdef DEBUGGING
@ -27,7 +22,6 @@ details. */
#ifdef DEBUGGING #ifdef DEBUGGING
/* Here lies extra debugging routines which help track down internal /* Here lies extra debugging routines which help track down internal
Cygwin problems when compiled with -DDEBUGGING . */ Cygwin problems when compiled with -DDEBUGGING . */
#include <stdlib.h>
#define NFREEH (sizeof (cygheap->debug.freeh) / sizeof (cygheap->debug.freeh[0])) #define NFREEH (sizeof (cygheap->debug.freeh) / sizeof (cygheap->debug.freeh[0]))
class lock_debug class lock_debug

View File

@ -9,14 +9,11 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/stat.h>
#define _COMPILING_NEWLIB #define _COMPILING_NEWLIB
#include <dirent.h> #include <dirent.h>
#include "pinfo.h"
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
@ -24,8 +21,6 @@ details. */
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "cygtls.h" #include "cygtls.h"
#include "perprocess.h"
#include "cygwin/version.h"
extern "C" int extern "C" int
dirfd (DIR *dir) dirfd (DIR *dir)

View File

@ -10,18 +10,11 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <psapi.h> #include <psapi.h>
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h>
#include <ctype.h> #include <ctype.h>
#include "cygerrno.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h"
#include "perprocess.h" #include "perprocess.h"
#include "thread.h"
#include "dlfcn.h" #include "dlfcn.h"
#include "dll_init.h"
#include "cygtls.h" #include "cygtls.h"
#include "tls_pbuf.h" #include "tls_pbuf.h"

View File

@ -7,7 +7,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h" #include "perprocess.h"
#include "dll_init.h" #include "dll_init.h"

View File

@ -16,9 +16,6 @@ details. */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <sys/cygwin.h>
#include <assert.h>
#include <winnls.h>
#include <wchar.h> #include <wchar.h>
#define USE_SYS_TYPES_FD_SET #define USE_SYS_TYPES_FD_SET
@ -26,7 +23,6 @@ details. */
#include "pinfo.h" #include "pinfo.h"
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h" #include "perprocess.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"

View File

@ -10,18 +10,14 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h>
#include <string.h>
#include <wchar.h> #include <wchar.h>
#include <wctype.h> #include <wctype.h>
#include <ctype.h> #include <ctype.h>
#include <assert.h> #include <assert.h>
#include <sys/cygwin.h>
#include <cygwin/version.h> #include <cygwin/version.h>
#include <winnls.h> #include <winnls.h>
#include "pinfo.h" #include "pinfo.h"
#include "perprocess.h" #include "perprocess.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "cygerrno.h" #include "cygerrno.h"
#include "fhandler.h" #include "fhandler.h"

View File

@ -13,9 +13,6 @@ details. */
#define sys_nerr FOOsys_nerr #define sys_nerr FOOsys_nerr
#define _sys_errlist FOO_sys_errlist #define _sys_errlist FOO_sys_errlist
#include "winsup.h" #include "winsup.h"
#include <stdio.h>
#include "cygerrno.h"
#include "thread.h"
#include "cygtls.h" #include "cygtls.h"
#undef _sys_nerr #undef _sys_nerr
#undef sys_nerr #undef sys_nerr

View File

@ -15,20 +15,14 @@ details. */
#include <winuser.h> #include <winuser.h>
#include <imagehlp.h> #include <imagehlp.h>
#include <stdlib.h> #include <stdlib.h>
#include <setjmp.h>
#include <assert.h>
#include <syslog.h> #include <syslog.h>
#include <wchar.h> #include <wchar.h>
#include "exceptions.h"
#include "sync.h"
#include "pinfo.h" #include "pinfo.h"
#include "cygtls.h" #include "cygtls.h"
#include "sigproc.h" #include "sigproc.h"
#include "cygerrno.h"
#include "shared_info.h" #include "shared_info.h"
#include "perprocess.h" #include "perprocess.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"

View File

@ -10,15 +10,9 @@ details. */
#define _execve __FOO_execve_ #define _execve __FOO_execve_
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <stdlib.h>
#include <process.h> #include <process.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h"
#include "pinfo.h"
#include "environ.h" #include "environ.h"
#undef _execve #undef _execve

View File

@ -12,21 +12,16 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include "security.h"
#include "sigproc.h" #include "sigproc.h"
#include "pinfo.h" #include "pinfo.h"
#include <exceptions.h>
#include "shared_info.h" #include "shared_info.h"
#include "cygwin_version.h" #include "cygwin_version.h"
#include "perprocess.h"
#include "cygerrno.h" #include "cygerrno.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "wincap.h"
#include "heap.h" #include "heap.h"
#include "pwdgrp.h"
#include "cygtls.h" #include "cygtls.h"
#include "child_info.h" #include "child_info.h"
#include "environ.h" #include "environ.h"

View File

@ -9,7 +9,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <stdarg.h>
#include <unistd.h> #include <unistd.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
@ -17,7 +16,6 @@ details. */
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "thread.h"
#include "cygtls.h" #include "cygtls.h"
extern "C" int extern "C" int

View File

@ -12,11 +12,8 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/cygwin.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <sys/acl.h> #include <sys/acl.h>
#include <sys/statvfs.h>
#include <signal.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h" #include "perprocess.h"
#include "security.h" #include "security.h"
@ -25,12 +22,9 @@ details. */
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "shared_info.h"
#include "pinfo.h" #include "pinfo.h"
#include <assert.h> #include <assert.h>
#include <limits.h>
#include <winioctl.h> #include <winioctl.h>
#include <ntdef.h>
#include "ntdll.h" #include "ntdll.h"
#include "cygtls.h" #include "cygtls.h"
#include "sigproc.h" #include "sigproc.h"

View File

@ -11,12 +11,8 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h>
#include <wchar.h> #include <wchar.h>
#include <windows.h>
#include <winnls.h>
#include <wingdi.h> #include <wingdi.h>
#include <winuser.h> #include <winuser.h>
#include "cygerrno.h" #include "cygerrno.h"

View File

@ -11,13 +11,10 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <sys/termios.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h>
#include <wingdi.h> #include <wingdi.h>
#include <winuser.h> #include <winuser.h>
#include <wincon.h>
#include <winnls.h> #include <winnls.h>
#include <ctype.h> #include <ctype.h>
#include <sys/cygwin.h> #include <sys/cygwin.h>

View File

@ -10,16 +10,11 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/cygwin.h>
#include <sys/acl.h> #include <sys/acl.h>
#include <sys/statvfs.h> #include <sys/statvfs.h>
#include <signal.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h"
#include "security.h" #include "security.h"
#include "cygwin/version.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
@ -27,8 +22,6 @@ details. */
#include "shared_info.h" #include "shared_info.h"
#include "pinfo.h" #include "pinfo.h"
#include "ntdll.h" #include "ntdll.h"
#include <assert.h>
#include <ctype.h>
#include <winioctl.h> #include <winioctl.h>
#define _COMPILING_NEWLIB #define _COMPILING_NEWLIB

View File

@ -13,10 +13,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <stdio.h>
#include <windows.h>
#include <sys/soundcard.h> #include <sys/soundcard.h>
#include <mmsystem.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"

View File

@ -10,19 +10,13 @@
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/statvfs.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "pinfo.h"
#include "sigproc.h" #include "sigproc.h"
#include "cygtls.h" #include "cygtls.h"

View File

@ -10,10 +10,8 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <sys/termios.h>
#include <unistd.h> #include <unistd.h>
#include <winioctl.h> #include <winioctl.h>
#include <asm/socket.h>
#include <cygwin/rdevio.h> #include <cygwin/rdevio.h>
#include <cygwin/hdreg.h> #include <cygwin/hdreg.h>
#include <cygwin/fs.h> #include <cygwin/fs.h>
@ -21,7 +19,6 @@ details. */
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include <ntdef.h>
#include "ntdll.h" #include "ntdll.h"
#define IS_EOM(err) ((err) == ERROR_INVALID_PARAMETER \ #define IS_EOM(err) ((err) == ERROR_INVALID_PARAMETER \

View File

@ -9,17 +9,11 @@
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <sys/termios.h>
#include <ntdef.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"
#include "ntdll.h" #include "ntdll.h"
/**********************************************************************/ /**********************************************************************/

View File

@ -10,8 +10,6 @@
#include "winsup.h" #include "winsup.h"
#include <unistd.h> #include <unistd.h>
#include <sys/mman.h>
#include <ntdef.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"

View File

@ -9,18 +9,12 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/cygwin.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"
#include "sigproc.h"
#include "cygthread.h" #include "cygthread.h"
#include <assert.h>
#include <winnetwk.h> #include <winnetwk.h>
#include <dirent.h> #include <dirent.h>

View File

@ -9,24 +9,10 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <errno.h>
#include <unistd.h>
#include <stdlib.h>
#include <sys/cygwin.h>
#include <sys/uio.h>
#include <signal.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h"
#include "security.h" #include "security.h"
#include "cygwin/version.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"
#include "shared_info.h"
#include "pinfo.h"
#include <assert.h>
#include <limits.h>
int int
fhandler_nodevice::open (int, mode_t) fhandler_nodevice::open (int, mode_t)

View File

@ -12,8 +12,6 @@ details. */
#include "miscfuncs.h" #include "miscfuncs.h"
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/cygwin.h>
#include <ntdef.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
@ -21,7 +19,6 @@ details. */
#include "pinfo.h" #include "pinfo.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include <assert.h>
#include <sys/utsname.h> #include <sys/utsname.h>
#include <sys/param.h> #include <sys/param.h>
#include "ntdll.h" #include "ntdll.h"

View File

@ -9,10 +9,8 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/cygwin.h> #include <sys/cygwin.h>
#include <ntdef.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
@ -25,8 +23,6 @@ details. */
#include "cygtls.h" #include "cygtls.h"
#include "tls_pbuf.h" #include "tls_pbuf.h"
#include <sys/param.h> #include <sys/param.h>
#include <assert.h>
#include <sys/sysmacros.h>
#include <ctype.h> #include <ctype.h>
#include <psapi.h> #include <psapi.h>

View File

@ -9,20 +9,13 @@
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <sys/termios.h>
#include <unistd.h>
#include <cygwin/rdevio.h> #include <cygwin/rdevio.h>
#include <sys/mtio.h> #include <sys/mtio.h>
#include <ntdef.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"
#include "ntdll.h"
/**********************************************************************/ /**********************************************************************/
/* fhandler_dev_raw */ /* fhandler_dev_raw */

View File

@ -11,16 +11,12 @@ details. */
/* FIXME: Access permissions are ignored at the moment. */ /* FIXME: Access permissions are ignored at the moment. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <stdlib.h>
#include <sys/cygwin.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include <assert.h>
#define _COMPILING_NEWLIB #define _COMPILING_NEWLIB
#include <dirent.h> #include <dirent.h>

View File

@ -11,14 +11,12 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h> #include <unistd.h>
#include <stdlib.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "sigproc.h" #include "sigproc.h"
#include "pinfo.h" #include "pinfo.h"
#include <sys/termios.h>
#include <ddk/ntddser.h> #include <ddk/ntddser.h>
/**********************************************************************/ /**********************************************************************/

View File

@ -13,9 +13,7 @@
#define __INSIDE_CYGWIN_NET__ #define __INSIDE_CYGWIN_NET__
#include "winsup.h" #include "winsup.h"
#include <sys/socket.h>
#include <sys/un.h> #include <sys/un.h>
#include <sys/uio.h>
#include <asm/byteorder.h> #include <asm/byteorder.h>
#include <stdlib.h> #include <stdlib.h>
@ -32,11 +30,9 @@
#include "cygheap.h" #include "cygheap.h"
#include "shared_info.h" #include "shared_info.h"
#include "sigproc.h" #include "sigproc.h"
#include "cygthread.h"
#include "wininfo.h" #include "wininfo.h"
#include <unistd.h> #include <unistd.h>
#include <sys/acl.h> #include <sys/acl.h>
#include <sys/statvfs.h>
#include "cygtls.h" #include "cygtls.h"
#include "cygwin/in6.h" #include "cygwin/in6.h"
#include "ntdll.h" #include "ntdll.h"

View File

@ -11,14 +11,10 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "cygtls.h" #include "cygtls.h"
#include <sys/termios.h>
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/mtio.h> #include <sys/mtio.h>
#include <sys/param.h> #include <sys/param.h>
#include <ddk/ntddstor.h> #include <ddk/ntddstor.h>
#include "cygerrno.h"
#include "perprocess.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"

View File

@ -9,9 +9,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <sys/termios.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h>
#include <ctype.h> #include <ctype.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"

View File

@ -10,13 +10,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <wingdi.h>
#include <winuser.h>
#include <stdio.h>
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h>
#include <limits.h>
#include <cygwin/kd.h> #include <cygwin/kd.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"

View File

@ -9,9 +9,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/cygwin.h>
#include <sys/acl.h> #include <sys/acl.h>
#include <sys/statvfs.h> #include <sys/statvfs.h>
#include "cygerrno.h" #include "cygerrno.h"
@ -19,9 +17,7 @@ details. */
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "shared_info.h"
#include "cygheap.h" #include "cygheap.h"
#include <assert.h>
#include <dirent.h> #include <dirent.h>

View File

@ -11,7 +11,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <errno.h>
#include "security.h" #include "security.h"
#include "cygerrno.h" #include "cygerrno.h"
#include "path.h" #include "path.h"

View File

@ -102,18 +102,14 @@
#include "winsup.h" #include "winsup.h"
#include <assert.h> #include <assert.h>
#include <sys/file.h> #include <sys/file.h>
#include <fcntl.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h"
#include "security.h" #include "security.h"
#include "cygwin/version.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "shared_info.h"
#include "pinfo.h" #include "pinfo.h"
#include "sigproc.h" #include "sigproc.h"
#include "cygtls.h" #include "cygtls.h"

View File

@ -13,7 +13,6 @@ details. */
#include <stdio.h> #include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
@ -27,10 +26,7 @@ details. */
#include "tls_pbuf.h" #include "tls_pbuf.h"
#include "perprocess.h" #include "perprocess.h"
#include "dll_init.h" #include "dll_init.h"
#include "sync.h"
#include "shared_info.h"
#include "cygmalloc.h" #include "cygmalloc.h"
#include "cygthread.h"
#define NPIDS_HELD 4 #define NPIDS_HELD 4

View File

@ -33,7 +33,6 @@
#if defined(LIBC_SCCS) && !defined(lint) #if defined(LIBC_SCCS) && !defined(lint)
static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93"; static char sccsid[] = "@(#)glob.c 8.3 (Berkeley) 10/13/93";
#endif /* LIBC_SCCS and not lint */ #endif /* LIBC_SCCS and not lint */
#include <sys/cdefs.h>
#ifdef __CYGWIN #ifdef __CYGWIN
__FBSDID("$FreeBSD: /repoman/r/ncvs/src/lib/libc/gen/glob.c,v 1.25 2006/06/05 18:22:13 delphij Exp $"); __FBSDID("$FreeBSD: /repoman/r/ncvs/src/lib/libc/gen/glob.c,v 1.25 2006/06/05 18:22:13 delphij Exp $");
#endif #endif
@ -75,19 +74,12 @@ __FBSDID("$FreeBSD: /repoman/r/ncvs/src/lib/libc/gen/glob.c,v 1.25 2006/06/05 18
#include "winsup.h" #include "winsup.h"
#include <sys/param.h>
#include <sys/stat.h>
#include <ctype.h> #include <ctype.h>
#include <dirent.h> #include <dirent.h>
#include <errno.h>
#include <glob.h> #include <glob.h>
#include <limits.h>
#include <pwd.h> #include <pwd.h>
#include <stdint.h>
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <string.h>
#include <unistd.h> #include <unistd.h>
#include <wchar.h> #include <wchar.h>

View File

@ -13,19 +13,15 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <grp.h>
#include <wininet.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "pinfo.h" #include "pinfo.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "pwdgrp.h" #include "pwdgrp.h"
#include "cygtls.h"
static __group32 *group_buf; static __group32 *group_buf;
static pwdgrp gr (group_buf); static pwdgrp gr (group_buf);

View File

@ -10,17 +10,11 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "cygerrno.h" #include "cygerrno.h"
#include "sigproc.h"
#include "pinfo.h"
#include "heap.h"
#include "shared_info.h" #include "shared_info.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "registry.h"
#include "cygwin_version.h"
#include "child_info.h" #include "child_info.h"
#define assert(x) #define assert(x)

View File

@ -9,9 +9,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <imagehlp.h>
#include <stdlib.h> #include <stdlib.h>
#include <alloca.h>
#include "ntdll.h" #include "ntdll.h"
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
@ -19,7 +17,6 @@ details. */
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "pinfo.h"
#define rva(coerce, base, addr) (coerce) ((char *) (base) + (addr)) #define rva(coerce, base, addr) (coerce) ((char *) (base) + (addr))
#define rvacyg(coerce, addr) rva (coerce, cygwin_hmodule, addr) #define rvacyg(coerce, addr) rva (coerce, cygwin_hmodule, addr)

View File

@ -10,12 +10,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h>
#include "thread.h"
#include "perprocess.h"
#include "cygtls.h" #include "cygtls.h"
#include "pinfo.h"
#include <ntdef.h>
#include "ntdll.h" #include "ntdll.h"
static DWORD _my_oldfunc; static DWORD _my_oldfunc;

View File

@ -12,15 +12,12 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <sys/ioctl.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "sigproc.h"
#include <sys/termios.h>
extern "C" int extern "C" int
ioctl (int fd, int cmd, ...) ioctl (int fd, int cmd, ...)

View File

@ -12,7 +12,6 @@
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <cygwin/ipc.h>
#include <sys/stat.h> #include <sys/stat.h>
/* Notes: we return a valid key even if id's low order 8 bits are 0. */ /* Notes: we return a valid key even if id's low order 8 bits are 0. */

View File

@ -7,7 +7,6 @@
#include "winsup.h" #include "winsup.h"
#include "cygerrno.h" #include "cygerrno.h"
#include "sync.h" #include "sync.h"
#include <windows.h>
#define STD_INSPIRED #define STD_INSPIRED
#define lint #define lint
@ -95,14 +94,11 @@ static char privatehid[] = "@(#)private.h 7.48";
** Nested includes ** Nested includes
*/ */
#include "sys/types.h" /* for time_t */
#include "stdio.h" #include "stdio.h"
#include "limits.h" /* for CHAR_BIT */ #include "limits.h" /* for CHAR_BIT */
#include "time.h"
#include "stdlib.h" #include "stdlib.h"
#if HAVE_GETTEXT - 0 #if HAVE_GETTEXT - 0
#include "libintl.h"
#endif /* HAVE_GETTEXT - 0 */ #endif /* HAVE_GETTEXT - 0 */
#if HAVE_UNISTD_H - 0 #if HAVE_UNISTD_H - 0
@ -172,7 +168,6 @@ static char privatehid[] = "@(#)private.h 7.48";
#ifndef MAXPATHLEN #ifndef MAXPATHLEN
#ifdef unix #ifdef unix
#include "sys/param.h"
#endif /* defined unix */ #endif /* defined unix */
#endif /* !defined MAXPATHLEN */ #endif /* !defined MAXPATHLEN */

View File

@ -5,11 +5,7 @@
As long as the above copyright statement and this notice remain As long as the above copyright statement and this notice remain
unchanged, you can do what ever you want with this file. */ unchanged, you can do what ever you want with this file. */
#include <sys/types.h>
#include <sys/cdefs.h>
#include <search.h>
#include <stdint.h> /* for uint8_t */ #include <stdint.h> /* for uint8_t */
#include <stdlib.h> /* for NULL */
#include <string.h> /* for memcpy () prototype */ #include <string.h> /* for memcpy () prototype */
static void *lwork (const void *, const void *, size_t *, size_t, static void *lwork (const void *, const void *, size_t *, size_t,

View File

@ -13,16 +13,11 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h>
#include <assert.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h"
#include "heap.h"
#include "sync.h"
#include "perprocess.h" #include "perprocess.h"
#include "cygmalloc.h" #include "cygmalloc.h"
#ifndef MALLOC_DEBUG #ifndef MALLOC_DEBUG

View File

@ -6,14 +6,7 @@ See the copyright at the bottom of this file. */
#include "winsup.h" #include "winsup.h"
#include "cygerrno.h" #include "cygerrno.h"
#include <sys/cdefs.h>
#include <sys/types.h>
#include <sys/stat.h>
#include <fcntl.h> #include <fcntl.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
#include <ctype.h>
#include <unistd.h> #include <unistd.h>
#define link_warning(symbol, msg) \ #define link_warning(symbol, msg) \

View File

@ -13,7 +13,6 @@ details. */
#include "miscfuncs.h" #include "miscfuncs.h"
#include <unistd.h> #include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <stddef.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/param.h> #include <sys/param.h>
#include "cygerrno.h" #include "cygerrno.h"
@ -22,8 +21,6 @@ details. */
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "pinfo.h"
#include "sys/cygwin.h"
#include "ntdll.h" #include "ntdll.h"
#include <sys/queue.h> #include <sys/queue.h>

View File

@ -9,16 +9,12 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include "cygerrno.h"
#include <signal.h>
#ifdef USE_SERVER #ifdef USE_SERVER
#include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include "sigproc.h" #include "sigproc.h"
#include "cygtls.h" #include "cygtls.h"
#include "cygserver_ipc.h"
#include "cygserver_msg.h" #include "cygserver_msg.h"
/* /*

View File

@ -17,9 +17,6 @@ details. */
#include "miscfuncs.h" #include "miscfuncs.h"
#include <ctype.h> #include <ctype.h>
#include <wchar.h> #include <wchar.h>
#include <sys/socket.h>
#include <sys/un.h>
#include <syslog.h>
#include <stdlib.h> #include <stdlib.h>
#define gethostname cygwin_gethostname #define gethostname cygwin_gethostname
@ -39,7 +36,6 @@ details. */
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "sigproc.h" #include "sigproc.h"
#include "pinfo.h"
#include "registry.h" #include "registry.h"
#include "cygtls.h" #include "cygtls.h"
#include "cygwin/in6.h" #include "cygwin/in6.h"

View File

@ -9,10 +9,7 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <windows.h>
#include <sys/cygwin.h>
#include <stdio.h> #include <stdio.h>
#include <string.h>
#include <stdlib.h> #include <stdlib.h>
#include <netdb.h> #include <netdb.h>

View File

@ -10,14 +10,11 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "cygtls.h" #include "cygtls.h"
#include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "pinfo.h"
#include "cygheap.h" #include "cygheap.h"
#include <ntdef.h>
#include "ntdll.h" #include "ntdll.h"
#include <stdlib.h> #include <stdlib.h>
#include <attr/xattr.h> #include <attr/xattr.h>

View File

@ -10,7 +10,6 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h> #include <stdlib.h>
#include <pwd.h>
#include <stdio.h> #include <stdio.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
@ -19,7 +18,6 @@ details. */
#include "dtable.h" #include "dtable.h"
#include "pinfo.h" #include "pinfo.h"
#include "cygheap.h" #include "cygheap.h"
#include <sys/termios.h>
#include "pwdgrp.h" #include "pwdgrp.h"
/* Read /etc/passwd only once for better performance. This is done /* Read /etc/passwd only once for better performance. This is done

View File

@ -12,9 +12,6 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <stdlib.h> #include <stdlib.h>
#include <time.h>
#include <limits.h>
#include <stdarg.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
@ -22,16 +19,12 @@ details. */
#include "dtable.h" #include "dtable.h"
#include "sigproc.h" #include "sigproc.h"
#include "pinfo.h" #include "pinfo.h"
#include "cygwin_version.h"
#include "perprocess.h" #include "perprocess.h"
#include "environ.h" #include "environ.h"
#include <assert.h> #include <assert.h>
#include <sys/wait.h>
#include <ntdef.h>
#include "ntdll.h" #include "ntdll.h"
#include "shared_info.h" #include "shared_info.h"
#include "cygheap.h" #include "cygheap.h"
#include "fhandler.h"
#include "cygmalloc.h" #include "cygmalloc.h"
#include "cygtls.h" #include "cygtls.h"
#include "tls_pbuf.h" #include "tls_pbuf.h"
@ -1056,7 +1049,6 @@ cygwin_winpid_to_pid (int winpid)
return (pid_t) -1; return (pid_t) -1;
} }
#include <tlhelp32.h>
#define slop_pidlist 200 #define slop_pidlist 200
#define size_pidlist(i) (sizeof (pidlist[0]) * ((i) + 1)) #define size_pidlist(i) (sizeof (pidlist[0]) * ((i) + 1))

View File

@ -12,20 +12,15 @@ details. */
/* FIXME: Should this really be fhandler_pipe.cc? */ /* FIXME: Should this really be fhandler_pipe.cc? */
#include "winsup.h" #include "winsup.h"
#include <unistd.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <limits.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "thread.h"
#include "pinfo.h" #include "pinfo.h"
#include "cygthread.h"
#include "ntdll.h"
fhandler_pipe::fhandler_pipe () fhandler_pipe::fhandler_pipe ()
: fhandler_base (), popen_pid (0) : fhandler_base (), popen_pid (0)

View File

@ -12,19 +12,16 @@
#define FD_SETSIZE 16384 // lots of fds #define FD_SETSIZE 16384 // lots of fds
#include "winsup.h" #include "winsup.h"
#include <sys/time.h>
#include <sys/poll.h> #include <sys/poll.h>
#include <sys/socket.h> #include <sys/socket.h>
#include <stdlib.h> #include <stdlib.h>
#define USE_SYS_TYPES_FD_SET #define USE_SYS_TYPES_FD_SET
#include <winsock2.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "sigproc.h"
extern "C" int extern "C" int
poll (struct pollfd *fds, nfds_t nfds, int timeout) poll (struct pollfd *fds, nfds_t nfds, int timeout)

View File

@ -11,22 +11,15 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "thread.h" #include "thread.h"
#include "path.h" #include "path.h"
#include "cygerrno.h"
#include "cygtls.h" #include "cygtls.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "security.h"
#include "sigproc.h" #include "sigproc.h"
#include <sys/stat.h>
#include <sys/mman.h> #include <sys/mman.h>
#include <sys/param.h> #include <sys/param.h>
#include <fcntl.h>
#include <pwd.h>
#include <stdlib.h> #include <stdlib.h>
#include <limits.h>
#include <unistd.h> #include <unistd.h>
#include <stdarg.h>
#include <mqueue.h> #include <mqueue.h>
#include <semaphore.h> #include <semaphore.h>

View File

@ -12,14 +12,6 @@
#include "winsup.h" #include "winsup.h"
#include "thread.h" #include "thread.h"
#include "cygerrno.h"
#include "path.h"
#include "fhandler.h"
#include "dtable.h"
#include "cygheap.h"
#include <stdarg.h>
#include <sys/fcntl.h>
#include "cygtls.h"
extern "C" extern "C"
{ {

View File

@ -36,7 +36,6 @@ __FBSDID("$FreeBSD: src/lib/libc/stdlib/random.c,v 1.25 2007/01/09 00:28:10 imp
#include <sys/time.h> /* for srandomdev() */ #include <sys/time.h> /* for srandomdev() */
#include <fcntl.h> /* for srandomdev() */ #include <fcntl.h> /* for srandomdev() */
#include <stdint.h>
#include <stdio.h> #include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <unistd.h> /* for srandomdev() */ #include <unistd.h> /* for srandomdev() */

View File

@ -10,7 +10,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include "shared_info.h"
#include "registry.h" #include "registry.h"
#include "security.h" #include "security.h"
#include <cygwin/version.h> #include <cygwin/version.h>

View File

@ -14,8 +14,6 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h> #include <unistd.h>
#include <limits.h>
#include "cygerrno.h"
#include "pinfo.h" #include "pinfo.h"
#include "psapi.h" #include "psapi.h"
#include "cygtls.h" #include "cygtls.h"

View File

@ -11,17 +11,11 @@
details. */ details. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h"
#endif #endif
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <limits.h>
#include "cygerrno.h" #include "cygerrno.h"
#include <assert.h>
#include <stdlib.h>
#include <syslog.h>
#include <sched.h>
#include "pinfo.h" #include "pinfo.h"
/* for getpid */ /* for getpid */
#include <unistd.h> #include <unistd.h>

View File

@ -19,7 +19,6 @@ details. */
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "pinfo.h"
#include "cygheap.h" #include "cygheap.h"
#include "pwdgrp.h" #include "pwdgrp.h"

View File

@ -19,7 +19,6 @@ details. */
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "pinfo.h"
#include "cygheap.h" #include "cygheap.h"
#include "ntdll.h" #include "ntdll.h"
#include "lm.h" #include "lm.h"

View File

@ -15,15 +15,11 @@ details. */
#define __INSIDE_CYGWIN_NET__ #define __INSIDE_CYGWIN_NET__
#include "winsup.h" #include "winsup.h"
#include <sys/socket.h>
#include <stdlib.h> #include <stdlib.h>
#include <sys/time.h>
#include <wingdi.h> #include <wingdi.h>
#include <winuser.h> #include <winuser.h>
#include <netdb.h> #include <netdb.h>
#include <unistd.h>
#include <limits.h>
#define USE_SYS_TYPES_FD_SET #define USE_SYS_TYPES_FD_SET
#include <winsock.h> #include <winsock.h>
#include "cygerrno.h" #include "cygerrno.h"
@ -34,10 +30,7 @@ details. */
#include "cygheap.h" #include "cygheap.h"
#include "pinfo.h" #include "pinfo.h"
#include "sigproc.h" #include "sigproc.h"
#include "tty.h"
#include "ntdll.h"
#include "cygtls.h" #include "cygtls.h"
#include <asm/byteorder.h>
/* /*
* All these defines below should be in sys/types.h * All these defines below should be in sys/types.h

View File

@ -9,17 +9,11 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include "cygerrno.h"
#include <signal.h>
#ifdef USE_SERVER #ifdef USE_SERVER
#include <sys/types.h>
#include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include <stdarg.h>
#include "sigproc.h" #include "sigproc.h"
#include "cygserver_ipc.h"
#include "cygserver_sem.h" #include "cygserver_sem.h"
#include "cygtls.h" #include "cygtls.h"

View File

@ -12,13 +12,8 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <unistd.h> #include <unistd.h>
#include <stdio.h>
#include <stdlib.h>
#include <grp.h>
#include <pwd.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "pinfo.h" #include "pinfo.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
@ -27,7 +22,6 @@ details. */
#include "shared_info_magic.h" #include "shared_info_magic.h"
#include "registry.h" #include "registry.h"
#include "cygwin_version.h" #include "cygwin_version.h"
#include "child_info.h"
#include "mtinfo.h" #include "mtinfo.h"
static shared_info cygwin_shared_area __attribute__((section (".cygwin_dll_common"), shared)); static shared_info cygwin_shared_area __attribute__((section (".cygwin_dll_common"), shared));

View File

@ -9,18 +9,13 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include "cygerrno.h"
#include <signal.h>
#ifdef USE_SERVER #ifdef USE_SERVER
#include <sys/types.h>
#include <sys/queue.h> #include <sys/queue.h>
#include <stdio.h>
#include <unistd.h> #include <unistd.h>
#include "pinfo.h" #include "pinfo.h"
#include "sigproc.h" #include "sigproc.h"
#include "cygserver_ipc.h"
#include "cygserver_shm.h" #include "cygserver_shm.h"
#include "cygtls.h" #include "cygtls.h"
#include "sync.h" #include "sync.h"

View File

@ -14,18 +14,14 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h> #include <stdlib.h>
#include "cygerrno.h"
#include <sys/cygwin.h> #include <sys/cygwin.h>
#include "pinfo.h" #include "pinfo.h"
#include "sigproc.h" #include "sigproc.h"
#include "hires.h"
#include "security.h"
#include "cygtls.h" #include "cygtls.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "cygtls.h"
int sigcatchers; /* FIXME: Not thread safe. */ int sigcatchers; /* FIXME: Not thread safe. */

View File

@ -14,16 +14,9 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <stdlib.h> #include <stdlib.h>
#include <time.h>
#include <sys/wait.h>
#include <stdlib.h>
#include <sys/cygwin.h> #include <sys/cygwin.h>
#include <assert.h>
#include <sys/signal.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "sync.h"
#include "pinfo.h" #include "pinfo.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
@ -32,7 +25,6 @@ details. */
#include "shared_info.h" #include "shared_info.h"
#include "cygtls.h" #include "cygtls.h"
#include "sigproc.h" #include "sigproc.h"
#include "exceptions.h"
#include "ntdll.h" #include "ntdll.h"
/* /*

View File

@ -11,12 +11,9 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "ntdll.h" #include "ntdll.h"
#include <stdarg.h>
#include <stdlib.h> #include <stdlib.h>
#include <ctype.h> #include <ctype.h>
#include <wctype.h>
#include <wchar.h> #include <wchar.h>
#include <limits.h>
#define LLMASK (0xffffffffffffffffULL) #define LLMASK (0xffffffffffffffffULL)
#define LMASK (0xffffffff) #define LMASK (0xffffffff)

View File

@ -11,11 +11,9 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h> #include <stdlib.h>
#include <stdarg.h>
#include <unistd.h> #include <unistd.h>
#include <process.h> #include <process.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <limits.h>
#include <wingdi.h> #include <wingdi.h>
#include <winuser.h> #include <winuser.h>
#include <wchar.h> #include <wchar.h>
@ -29,9 +27,7 @@ details. */
#include "sigproc.h" #include "sigproc.h"
#include "cygheap.h" #include "cygheap.h"
#include "child_info.h" #include "child_info.h"
#include "shared_info.h"
#include "pinfo.h" #include "pinfo.h"
#include "registry.h"
#include "environ.h" #include "environ.h"
#include "cygtls.h" #include "cygtls.h"
#include "tls_pbuf.h" #include "tls_pbuf.h"

View File

@ -10,8 +10,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h>
#include <time.h>
#include <wingdi.h> #include <wingdi.h>
#include <winuser.h> #include <winuser.h>
#include <ctype.h> #include <ctype.h>
@ -19,8 +17,6 @@ details. */
#include "pinfo.h" #include "pinfo.h"
#include "perprocess.h" #include "perprocess.h"
#include "cygwin_version.h" #include "cygwin_version.h"
#include "hires.h"
#include "security.h"
#include "cygthread.h" #include "cygthread.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"

View File

@ -11,7 +11,6 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <stdlib.h> #include <stdlib.h>
#include <winbase.h>
#include <winnls.h> #include <winnls.h>
#include <ntdll.h> #include <ntdll.h>
#include "cygerrno.h" #include "cygerrno.h"

View File

@ -9,11 +9,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include "thread.h"
#include <time.h>
#include <stdlib.h>
#include <string.h>
#include <signal.h>
#include <cygtls.h> #include <cygtls.h>
struct sigdesc struct sigdesc

View File

@ -16,13 +16,7 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <stdlib.h>
#include <time.h>
#include <sys/wait.h>
#include <errno.h>
#include <stdlib.h>
#include "sync.h" #include "sync.h"
#include "security.h"
#include "thread.h" #include "thread.h"
#include "cygtls.h" #include "cygtls.h"

View File

@ -28,27 +28,16 @@ details. */
#include <sys/stat.h> #include <sys/stat.h>
#include <sys/vfs.h> /* needed for statfs */ #include <sys/vfs.h> /* needed for statfs */
#include <sys/statvfs.h> /* needed for statvfs */ #include <sys/statvfs.h> /* needed for statvfs */
#include <pwd.h>
#include <grp.h>
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <process.h> #include <process.h>
#include <utmp.h> #include <utmp.h>
#include <utmpx.h> #include <utmpx.h>
#include <sys/uio.h> #include <sys/uio.h>
#include <errno.h>
#include <ctype.h> #include <ctype.h>
#include <limits.h>
#include <unistd.h> #include <unistd.h>
#include <setjmp.h>
#include <sys/wait.h> #include <sys/wait.h>
#include <winnls.h>
#include <wininet.h>
#include <winioctl.h>
#include <lmcons.h> /* for UNLEN */
#include <rpc.h> #include <rpc.h>
#include <shellapi.h>
#include <ntdef.h>
#include "ntdll.h" #include "ntdll.h"
#undef fstat #undef fstat
@ -58,7 +47,6 @@ details. */
#undef pwrite #undef pwrite
#include <cygwin/version.h> #include <cygwin/version.h>
#include <sys/cygwin.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "perprocess.h" #include "perprocess.h"
#include "security.h" #include "security.h"

View File

@ -11,15 +11,11 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <unistd.h> #include <unistd.h>
#include <time.h>
#include <limits.h>
#include <ntdef.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h"
#include "ntdll.h" #include "ntdll.h"
static long static long

View File

@ -15,17 +15,14 @@ details. */
#include <stdlib.h> #include <stdlib.h>
#include <stdio.h> #include <stdio.h>
#include <syslog.h> #include <syslog.h>
#include <stdarg.h>
#include <unistd.h> #include <unistd.h>
#include <sys/un.h> #include <sys/un.h>
#include <sys/uio.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "thread.h"
#include "cygtls.h" #include "cygtls.h"
#define CYGWIN_LOG_NAME "Cygwin" #define CYGWIN_LOG_NAME "Cygwin"

View File

@ -13,7 +13,6 @@ details. */
#include "winsup.h" #include "winsup.h"
#include "cygwin/version.h" #include "cygwin/version.h"
#include <signal.h>
#include <stdlib.h> #include <stdlib.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
@ -22,9 +21,7 @@ details. */
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "perprocess.h" #include "perprocess.h"
#include "sigproc.h"
#include "cygtls.h" #include "cygtls.h"
#include <sys/termios.h>
/* tcsendbreak: POSIX 7.2.2.1 */ /* tcsendbreak: POSIX 7.2.2.1 */
extern "C" int extern "C" int

View File

@ -24,30 +24,19 @@ details. */
R.Collins, April 2001. */ R.Collins, April 2001. */
#ifdef HAVE_CONFIG_H #ifdef HAVE_CONFIG_H
# include "config.h"
#endif #endif
#include "winsup.h" #include "winsup.h"
#include "miscfuncs.h" #include "miscfuncs.h"
#include <limits.h>
#include "path.h" #include "path.h"
#include "cygerrno.h"
#include <assert.h>
#include <stdlib.h> #include <stdlib.h>
#include "pinfo.h" #include "pinfo.h"
#include "sigproc.h" #include "sigproc.h"
#include "perprocess.h" #include "perprocess.h"
#include "security.h"
#include "cygtls.h" #include "cygtls.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include <semaphore.h>
#include <stdio.h>
#include <sys/timeb.h>
#include <exceptions.h>
#include <sys/fcntl.h>
#include <sys/lock.h>
extern "C" void __fp_lock_all (); extern "C" void __fp_lock_all ();
extern "C" void __fp_unlock_all (); extern "C" void __fp_unlock_all ();

View File

@ -9,15 +9,9 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <time.h>
#include <stdlib.h>
#include "cygerrno.h"
#include "security.h"
#include "hires.h"
#include "thread.h" #include "thread.h"
#include "cygtls.h" #include "cygtls.h"
#include "sigproc.h" #include "sigproc.h"
#include "sync.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"

View File

@ -11,13 +11,10 @@ details. */
#include "winsup.h" #include "winsup.h"
#define __timezonefunc__ #define __timezonefunc__
#include <time.h>
#include <sys/times.h> #include <sys/times.h>
#include <sys/timeb.h> #include <sys/timeb.h>
#include <utime.h> #include <utime.h>
#include <stdio.h>
#include <stdlib.h> #include <stdlib.h>
#include <pthread.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "path.h" #include "path.h"
@ -25,10 +22,7 @@ details. */
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "pinfo.h" #include "pinfo.h"
#include "hires.h"
#include "cygtls.h" #include "cygtls.h"
#include "sigproc.h"
#include "sync.h"
#include "ntdll.h" #include "ntdll.h"
#define FACTOR (0x19db1ded53e8000LL) #define FACTOR (0x19db1ded53e8000LL)

View File

@ -8,7 +8,6 @@ details. */
#include <winsup.h> #include <winsup.h>
#include <malloc.h> #include <malloc.h>
#include "thread.h"
#include "cygtls.h" #include "cygtls.h"
#include "tls_pbuf.h" #include "tls_pbuf.h"

View File

@ -13,8 +13,6 @@ details. */
#include "miscfuncs.h" #include "miscfuncs.h"
#include <unistd.h> #include <unistd.h>
#include <utmp.h> #include <utmp.h>
#include <wingdi.h>
#include <winuser.h>
#include <sys/cygwin.h> #include <sys/cygwin.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
@ -23,9 +21,7 @@ details. */
#include "dtable.h" #include "dtable.h"
#include "cygheap.h" #include "cygheap.h"
#include "pinfo.h" #include "pinfo.h"
#include "cygserver.h"
#include "shared_info.h" #include "shared_info.h"
#include "cygthread.h"
extern fhandler_tty_master *tty_master; extern fhandler_tty_master *tty_master;

View File

@ -10,18 +10,13 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <pwd.h>
#include <unistd.h> #include <unistd.h>
#include <winnls.h>
#include <wininet.h> #include <wininet.h>
#include <utmp.h>
#include <limits.h>
#include <stdlib.h> #include <stdlib.h>
#include <lm.h> #include <lm.h>
#include <sys/cygwin.h> #include <sys/cygwin.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "pinfo.h" #include "pinfo.h"
#include "security.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"

View File

@ -12,7 +12,6 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for
details. */ details. */
#include "winsup.h" #include "winsup.h"
#include <stdio.h>
#include <sys/utsname.h> #include <sys/utsname.h>
#include "cygwin_version.h" #include "cygwin_version.h"
#include "cygtls.h" #include "cygtls.h"

View File

@ -10,8 +10,6 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <sys/wait.h> #include <sys/wait.h>
#include <stdlib.h>
#include "cygerrno.h"
#include "sigproc.h" #include "sigproc.h"
#include "thread.h" #include "thread.h"
#include "cygtls.h" #include "cygtls.h"

View File

@ -12,18 +12,11 @@ details. */
#include "winsup.h" #include "winsup.h"
#include <sys/time.h> #include <sys/time.h>
#include <stdlib.h>
#include <signal.h>
#include <limits.h>
#include <wingdi.h> #include <wingdi.h>
#include <winuser.h> #include <winuser.h>
#define USE_SYS_TYPES_FD_SET #define USE_SYS_TYPES_FD_SET
#include <winsock2.h> #include <winsock2.h>
#include <unistd.h>
#include "cygerrno.h"
#include "perprocess.h" #include "perprocess.h"
#include "security.h"
#include "thread.h"
#include "cygtls.h" #include "cygtls.h"
#include "sync.h" #include "sync.h"
#include "wininfo.h" #include "wininfo.h"

View File

@ -10,7 +10,6 @@ details. */
#include <stdlib.h> #include <stdlib.h>
#include "cygerrno.h" #include "cygerrno.h"
#include "security.h" #include "security.h"
#include "sync.h"
#include "path.h" #include "path.h"
#include "fhandler.h" #include "fhandler.h"
#include "dtable.h" #include "dtable.h"