aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dcrt0.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/dcrt0.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/dcrt0.cc')
-rw-r--r--winsup/cygwin/dcrt0.cc4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dcrt0.cc b/winsup/cygwin/dcrt0.cc
index 17d3b66..5fb34d7 100644
--- a/winsup/cygwin/dcrt0.cc
+++ b/winsup/cygwin/dcrt0.cc
@@ -1137,7 +1137,7 @@ __main (void)
sig_dispatch_pending (true);
}
-void __reg1
+void
do_exit (int status)
{
syscall_printf ("do_exit (%d), exit_state %d", status, exit_state);
@@ -1332,7 +1332,7 @@ are unable to find another cygwin DLL.",
}
#ifdef DEBUGGING
-void __reg1
+void
cygbench (const char *s)
{
if (GetEnvironmentVariableA ("CYGWIN_BENCH", NULL, 0))