diff options
author | Christopher Faylor <me@cgf.cx> | 2000-11-12 04:57:41 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2000-11-12 04:57:41 +0000 |
commit | 49421cd9c5d29b29b4da341a75855b00fbab9b3d (patch) | |
tree | a6d69de6607d164700a085a452b813869332548d /winsup/cygwin/sigproc.h | |
parent | 6ccb6bcf3d24550eead6c969f2ac9a5f9f5105d3 (diff) | |
download | newlib-49421cd9c5d29b29b4da341a75855b00fbab9b3d.zip newlib-49421cd9c5d29b29b4da341a75855b00fbab9b3d.tar.gz newlib-49421cd9c5d29b29b4da341a75855b00fbab9b3d.tar.bz2 |
* path.h: Add __attribute__ ((regparm(x))) to commonly used functions.
* pinfo.h: Ditto.
* sigproc.h: Ditto.
* sync.h: Ditto.
Diffstat (limited to 'winsup/cygwin/sigproc.h')
-rw-r--r-- | winsup/cygwin/sigproc.h | 8 |
1 files changed, 3 insertions, 5 deletions
diff --git a/winsup/cygwin/sigproc.h b/winsup/cygwin/sigproc.h index 2e31e57..01b61a8 100644 --- a/winsup/cygwin/sigproc.h +++ b/winsup/cygwin/sigproc.h @@ -96,9 +96,9 @@ void __stdcall proc_terminate (); void __stdcall sigproc_init (); void __stdcall subproc_init (); void __stdcall sigproc_terminate (); -BOOL __stdcall proc_exists (_pinfo *); -BOOL __stdcall pid_exists (pid_t); -int __stdcall sig_send (_pinfo *, int, DWORD ebp = (DWORD) __builtin_frame_address (0)); +BOOL __stdcall proc_exists (_pinfo *) __attribute__ ((regparm(1))); +BOOL __stdcall pid_exists (pid_t) __attribute__ ((regparm(1))); +int __stdcall sig_send (_pinfo *, int, DWORD ebp = (DWORD) __builtin_frame_address (0)) __attribute__ ((regparm(3))); void __stdcall signal_fixup_after_fork (); void __stdcall signal_fixup_after_exec (bool); @@ -107,7 +107,5 @@ extern char myself_nowait_nonmain_dummy[]; #define WAIT_SIG_EXITING (WAIT_OBJECT_0 + 1) -#define allow_sig_dispatch(n) __allow_sig_dispatch (__FILE__, __LINE__, (n)) - #define myself_nowait ((_pinfo *)myself_nowait_dummy) #define myself_nowait_nonmain ((_pinfo *)myself_nowait_nonmain_dummy) |