diff options
author | Christopher Faylor <me@cgf.cx> | 2005-09-14 14:08:00 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-09-14 14:08:00 +0000 |
commit | 18ea7328a710436298bb0415903258d6e047a623 (patch) | |
tree | c4149260ea6070e1bbdfd0d1d279a813f6f73efb | |
parent | 62fe0eacdae384150ab86faf560a0e498d42d8e5 (diff) | |
download | cygnal-18ea7328a710436298bb0415903258d6e047a623.tar.gz cygnal-18ea7328a710436298bb0415903258d6e047a623.tar.bz2 cygnal-18ea7328a710436298bb0415903258d6e047a623.zip |
* sigproc.h: Protect declaration so that it only happens when
__INSIDE_CYGWIN__.
-rw-r--r-- | winsup/cygwin/ChangeLog | 5 | ||||
-rw-r--r-- | winsup/cygwin/sigproc.h | 2 |
2 files changed, 7 insertions, 0 deletions
diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index da4e97202..1a5219883 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,5 +1,10 @@ 2005-09-14 Christopher Faylor <cgf@timesys.com> + * sigproc.h: Protect declaration so that it only happens when + __INSIDE_CYGWIN__. + +2005-09-14 Christopher Faylor <cgf@timesys.com> + * exceptions.cc (sigtid): Remove declaration. (handle_exceptions): Use _sig_tls rather than sigtid to determine if this is the signal thread. diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index a8895df7a..a53da0c59 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -73,7 +73,9 @@ int __stdcall proc_subproc (DWORD, DWORD) __attribute__ ((regparm (2))); class _pinfo; void __stdcall proc_terminate (); void __stdcall sigproc_init (); +#ifdef __INSIDE_CYGWIN__ void __stdcall sigproc_terminate (enum exit_states); +#endif bool __stdcall pid_exists (pid_t) __attribute__ ((regparm(1))); int __stdcall sig_send (_pinfo *, siginfo_t&, class _cygtls *tls = NULL) __attribute__ ((regparm (3))); int __stdcall sig_send (_pinfo *, int) __attribute__ ((regparm (2))); |