aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/signal.cc
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-05-23 15:52:52 -0400
committerKen Brown <kbrown@cornell.edu>2022-05-29 17:45:52 -0400
commit2126f966aeba1616c3bb8b3886061f6235126dcc (patch)
treeba7df348570dd3c8df151b5c0a6c71490a69865c /winsup/cygwin/signal.cc
parent2d9b48760c48f19b2941f05ee6720f510700823c (diff)
downloadnewlib-2126f966aeba1616c3bb8b3886061f6235126dcc.zip
newlib-2126f966aeba1616c3bb8b3886061f6235126dcc.tar.gz
newlib-2126f966aeba1616c3bb8b3886061f6235126dcc.tar.bz2
Cygwin: remove regparm.h
This file defines the macros __reg1, __reg2, and __reg3, which are defined to be empty on 64-bit Cygwin. Remove all occurrences of these macros.
Diffstat (limited to 'winsup/cygwin/signal.cc')
-rw-r--r--winsup/cygwin/signal.cc8
1 files changed, 4 insertions, 4 deletions
diff --git a/winsup/cygwin/signal.cc b/winsup/cygwin/signal.cc
index 0530355..7715291 100644
--- a/winsup/cygwin/signal.cc
+++ b/winsup/cygwin/signal.cc
@@ -27,7 +27,7 @@ details. */
#define _SA_NORESTART 0x8000
-static int __reg3 sigaction_worker (int, const struct sigaction *, struct sigaction *, bool);
+static int sigaction_worker (int, const struct sigaction *, struct sigaction *, bool);
#define sigtrapped(func) ((func) != SIG_IGN && (func) != SIG_DFL)
@@ -204,7 +204,7 @@ sigprocmask (int how, const sigset_t *set, sigset_t *oldset)
return res;
}
-int __reg3
+int
handle_sigprocmask (int how, const sigset_t *set, sigset_t *oldset, sigset_t& opmask)
{
/* check that how is in right range if set is not NULL */
@@ -248,7 +248,7 @@ handle_sigprocmask (int how, const sigset_t *set, sigset_t *oldset, sigset_t& op
return 0;
}
-int __reg2
+int
_pinfo::kill (siginfo_t& si)
{
int res;
@@ -415,7 +415,7 @@ abort (void)
do_exit (SIGABRT); /* signal handler didn't exit. Goodbye. */
}
-static int __reg3
+static int
sigaction_worker (int sig, const struct sigaction *newact,
struct sigaction *oldact, bool isinternal)
{