diff options
author | Christopher Faylor <me@cgf.cx> | 2008-04-07 20:15:45 +0400 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2008-04-07 20:15:45 +0400 |
commit | ade47a3430eb7ef8b3cdb3d54d47a0c4732ac10d (patch) | |
tree | 410bd10eaa7bfc57411d210e2c14414ab1ff8753 /winsup/cygwin/dcrt0.cc | |
parent | 6c74e7d7fcd17febed2b3f41e0cf0840191d63ef (diff) |
Add miscfuncs.h to files as needed throughout.
* mount.cc: New file.
* path.cc: Move mount-specific stuff into mount.cc. Move common stuff into
miscfuncs.cc. Remove unneeded includes.
* miscfuncs.cc: Move some common path functions here.
* miscfuncs.h: New file.
* winsup.h: Move miscelleneous functions to miscfuncs.h.
* dcrt0.cc: Remove unneeded includes.
* Makefile.in (DLL_OFILES): Add mount.o.
* include/cygwin/config.h: Fix a minor typo.
Diffstat (limited to 'winsup/cygwin/dcrt0.cc')
-rw-r--r-- | winsup/cygwin/dcrt0.cc | 13 |
1 files changed, 2 insertions, 11 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc index 5464cce57..468d0ab39 100644 --- a/winsup/cygwin/dcrt0.cc +++ b/winsup/cygwin/dcrt0.cc @@ -10,23 +10,16 @@ Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ #include "winsup.h" +#include "miscfuncs.h" #include <unistd.h> -#include <stdio.h> #include <stdlib.h> -#include <string.h> #include "glob.h" -#include "exceptions.h" #include <ctype.h> -#include <limits.h> -#include <winnls.h> -#include <wingdi.h> -#include <winuser.h> #include "sigproc.h" #include "pinfo.h" #include "cygerrno.h" #define NEED_VFORK #include "perprocess.h" -#include "security.h" #include "path.h" #include "fhandler.h" #include "dtable.h" @@ -36,9 +29,7 @@ details. */ #include "shared_info.h" #include "cygwin_version.h" #include "dll_init.h" -#include "sync.h" #include "heap.h" -#include "environ.h" #include "tls_pbuf.h" #define MAX_AT_FILE_LEVEL 10 @@ -116,9 +107,9 @@ extern "C" #ifdef DEBUGGING int pinger; #endif - int NO_COPY __api_fatal_exit_val = 1; }; +int NO_COPY __api_fatal_exit_val = 1; char *old_title; char title_buf[TITLESIZE + 1]; |