diff options
author | Christopher Faylor <me@cgf.cx> | 2002-06-02 06:07:01 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2002-06-02 06:07:01 +0000 |
commit | 6b7cd251c7f03394208d65451ef1bed91905026f (patch) | |
tree | a1f5cce168c59296346c1c632293e56f7db7e544 /winsup/cygwin/sigproc.h | |
parent | a673eba664bf26888ba73f2508227cc7b2c36d44 (diff) | |
download | newlib-6b7cd251c7f03394208d65451ef1bed91905026f.zip newlib-6b7cd251c7f03394208d65451ef1bed91905026f.tar.gz newlib-6b7cd251c7f03394208d65451ef1bed91905026f.tar.bz2 |
Remove unneeded sigproc.h includes throughout.
* fhandler.h (fhandler_proc::fill_filebuf): Take a pinfo argument.
* fhandler_proc.cc (fhandler_proc::get_proc_fhandler): Simplify search for
given pid.
(fhandler_proc::readdir): Assume that pid exists if it shows up in the winpid
list.
* fhandler_process.cc (fhandler_process::open): Simplify search for given pid.
Call fill_filebuf with pinfo argument.
(fhandler_process::fill_filebuf): Pass pinfo here and assume that it exists.
* pinfo.h (pinfo::remember): Define differently if sigproc.h is not included.
* dll_init.cc (dll_list::detach): Don't run destructor on exit.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 3 |
1 files changed, 3 insertions, 0 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index b4cc45e..0960efa 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -8,6 +8,8 @@ This software is a copyrighted work licensed under the terms of the Cygwin license. Please consult the file "CYGWIN_LICENSE" for details. */ +#ifndef _SIGPROC_H +#define _SIGPROC_H #include <signal.h> #define EXIT_SIGNAL 0x010000 @@ -124,3 +126,4 @@ extern char myself_nowait_nonmain_dummy[]; #define myself_nowait ((_pinfo *)myself_nowait_dummy) #define myself_nowait_nonmain ((_pinfo *)myself_nowait_nonmain_dummy) +#endif /*_SIGPROC_H*/ |