Welcome to mirror list, hosted at ThFree Co, Russian Federation.

cygwin.com/git/newlib-cygwin.git - Unnamed repository; edit this file 'description' to name the repository.
summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorKen Brown <kbrown@cornell.edu>2022-05-23 22:52:52 +0300
committerKen Brown <kbrown@cornell.edu>2022-05-30 00:45:52 +0300
commit2126f966aeba1616c3bb8b3886061f6235126dcc (patch)
treeba7df348570dd3c8df151b5c0a6c71490a69865c /winsup/cygwin/debug.cc
parent2d9b48760c48f19b2941f05ee6720f510700823c (diff)
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/debug.cc')
-rw-r--r--winsup/cygwin/debug.cc6
1 files changed, 3 insertions, 3 deletions
diff --git a/winsup/cygwin/debug.cc b/winsup/cygwin/debug.cc
index fc2fed4df..f21a8c518 100644
--- a/winsup/cygwin/debug.cc
+++ b/winsup/cygwin/debug.cc
@@ -99,7 +99,7 @@ newh ()
return NULL;
}
-void __reg3
+void
modify_handle (const char *func, int ln, HANDLE h, const char *name, bool inh)
{
lock_debug here;
@@ -115,7 +115,7 @@ modify_handle (const char *func, int ln, HANDLE h, const char *name, bool inh)
}
/* Add a handle to the linked list of known handles. */
-void __reg3
+void
add_handle (const char *func, int ln, HANDLE h, const char *name, bool inh)
{
handle_list *hl;
@@ -209,7 +209,7 @@ mark_closed (const char *func, int ln, HANDLE h, const char *name, bool force)
/* Close a known handle. Complain if !force and closing a known handle or
if the name of the handle being closed does not match the registered name. */
-bool __reg3
+bool
close_handle (const char *func, int ln, HANDLE h, const char *name, bool force)
{
bool ret;