aboutsummaryrefslogtreecommitdiff
path: root/winsup/cygwin/dtable.h
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/dtable.h
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/dtable.h')
-rw-r--r--winsup/cygwin/dtable.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/winsup/cygwin/dtable.h b/winsup/cygwin/dtable.h
index e1a8461..7803fae 100644
--- a/winsup/cygwin/dtable.h
+++ b/winsup/cygwin/dtable.h
@@ -44,7 +44,7 @@ public:
void vfork_parent_restore ();
void vfork_child_fixup ();
fhandler_base *dup_worker (fhandler_base *oldfh, int flags);
- int extend (size_t, size_t) __reg3;
+ int extend (size_t, size_t);
void fixup_after_fork (HANDLE);
void fixup_close (size_t, fhandler_base *);
@@ -57,7 +57,7 @@ public:
}
int find_unused_handle (size_t start);
int find_unused_handle () { return find_unused_handle (first_fd_for_open);}
- void __reg2 release (int fd);
+ void release (int fd);
void init_std_file_from_handle (int fd, HANDLE handle);
int dup3 (int oldfd, int newfd, int flags);
void fixup_after_exec ();