* sigproc.cc (sig_dispatch_pending): Add correct regparm attributes to match
declaration. (pid_exists): Ditto. (proc_subproc): Ditto. (sig_clear): Ditto. (sig_send): Ditto. (checkstate): Ditto.
This commit is contained in:
parent
a32a9a87a1
commit
1471537a8f
@ -1,3 +1,13 @@
|
|||||||
|
2013-01-20 Christopher Faylor <me.cygwin2013@cgf.cx>
|
||||||
|
|
||||||
|
* sigproc.cc (sig_dispatch_pending): Add correct regparm attributes to
|
||||||
|
match declaration.
|
||||||
|
(pid_exists): Ditto.
|
||||||
|
(proc_subproc): Ditto.
|
||||||
|
(sig_clear): Ditto.
|
||||||
|
(sig_send): Ditto.
|
||||||
|
(checkstate): Ditto.
|
||||||
|
|
||||||
2013-01-19 Corinna Vinschen <corinna@vinschen.de>
|
2013-01-19 Corinna Vinschen <corinna@vinschen.de>
|
||||||
|
|
||||||
* syscalls.cc (rename): Remove ill-conceived NFS workaround from
|
* syscalls.cc (rename): Remove ill-conceived NFS workaround from
|
||||||
|
@ -84,7 +84,7 @@ public:
|
|||||||
sigpacket *next ();
|
sigpacket *next ();
|
||||||
sigpacket *save () const {return curr;}
|
sigpacket *save () const {return curr;}
|
||||||
void restore (sigpacket *saved) {curr = saved;}
|
void restore (sigpacket *saved) {curr = saved;}
|
||||||
friend void __stdcall sig_dispatch_pending (bool);
|
friend void __stdcall sig_dispatch_pending (bool) __attribute__ ((regparm (1)));;
|
||||||
friend void WINAPI wait_sig (VOID *arg);
|
friend void WINAPI wait_sig (VOID *arg);
|
||||||
};
|
};
|
||||||
|
|
||||||
@ -156,7 +156,7 @@ proc_can_be_signalled (_pinfo *p)
|
|||||||
return false;
|
return false;
|
||||||
}
|
}
|
||||||
|
|
||||||
bool __stdcall
|
bool __stdcall __attribute__ ((regparm(1)))
|
||||||
pid_exists (pid_t pid)
|
pid_exists (pid_t pid)
|
||||||
{
|
{
|
||||||
return pinfo (pid)->exists ();
|
return pinfo (pid)->exists ();
|
||||||
@ -174,7 +174,7 @@ mychild (int pid)
|
|||||||
|
|
||||||
/* Handle all subprocess requests
|
/* Handle all subprocess requests
|
||||||
*/
|
*/
|
||||||
int __stdcall
|
int __stdcall __attribute__ ((regparm (2)))
|
||||||
proc_subproc (DWORD what, DWORD val)
|
proc_subproc (DWORD what, DWORD val)
|
||||||
{
|
{
|
||||||
int rc = 1;
|
int rc = 1;
|
||||||
@ -390,7 +390,7 @@ proc_terminate ()
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Clear pending signal */
|
/* Clear pending signal */
|
||||||
void __stdcall
|
void __stdcall __attribute__ ((regparm (1)))
|
||||||
sig_clear (int target_sig)
|
sig_clear (int target_sig)
|
||||||
{
|
{
|
||||||
if (&_my_tls != _sig_tls)
|
if (&_my_tls != _sig_tls)
|
||||||
@ -421,7 +421,7 @@ sigpending (sigset_t *mask)
|
|||||||
}
|
}
|
||||||
|
|
||||||
/* Force the wait_sig thread to wake up and scan for pending signals */
|
/* Force the wait_sig thread to wake up and scan for pending signals */
|
||||||
void __stdcall
|
void __stdcall __attribute__ ((regparm (1)))
|
||||||
sig_dispatch_pending (bool fast)
|
sig_dispatch_pending (bool fast)
|
||||||
{
|
{
|
||||||
if (&_my_tls == _sig_tls)
|
if (&_my_tls == _sig_tls)
|
||||||
@ -500,7 +500,7 @@ exit_thread (DWORD res)
|
|||||||
ExitThread (0);
|
ExitThread (0);
|
||||||
}
|
}
|
||||||
|
|
||||||
int __stdcall
|
int __stdcall __attribute__ ((regparm (3)))
|
||||||
sig_send (_pinfo *p, int sig, _cygtls *tid)
|
sig_send (_pinfo *p, int sig, _cygtls *tid)
|
||||||
{
|
{
|
||||||
if (sig == __SIGHOLD)
|
if (sig == __SIGHOLD)
|
||||||
@ -531,7 +531,7 @@ sig_send (_pinfo *p, int sig, _cygtls *tid)
|
|||||||
If pinfo *p == NULL, send to the current process.
|
If pinfo *p == NULL, send to the current process.
|
||||||
If sending to this process, wait for notification that a signal has
|
If sending to this process, wait for notification that a signal has
|
||||||
completed before returning. */
|
completed before returning. */
|
||||||
int __stdcall
|
int __stdcall __attribute__ ((regparm (3)))
|
||||||
sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls)
|
sig_send (_pinfo *p, siginfo_t& si, _cygtls *tls)
|
||||||
{
|
{
|
||||||
int rc = 1;
|
int rc = 1;
|
||||||
@ -1081,7 +1081,7 @@ child_info_fork::abort (const char *fmt, ...)
|
|||||||
/* Check the state of all of our children to see if any are stopped or
|
/* Check the state of all of our children to see if any are stopped or
|
||||||
* terminated.
|
* terminated.
|
||||||
*/
|
*/
|
||||||
static int __stdcall
|
static int __stdcall __attribute__ ((regparm (1)))
|
||||||
checkstate (waitq *parent_w)
|
checkstate (waitq *parent_w)
|
||||||
{
|
{
|
||||||
int potential_match = 0;
|
int potential_match = 0;
|
||||||
|
Loading…
x
Reference in New Issue
Block a user