From 30c5411d0717483a9ad892f6f0a2f92a1ffd7c84 Mon Sep 17 00:00:00 2001 From: Ken Brown Date: Mon, 6 Jun 2022 12:00:45 -0400 Subject: Cygwin: remove most occurrences of __stdcall and __cdecl These have no effect on x86_64. Retain a few occurrences of __cdecl in files imported from other sources. Also retain all occurrences of WINAPI, even though the latter is simply a macro that expands to __stdcall. Most of these occurrences are associated with Windows API functions, and removing them might make the code confusing instead of simpler. --- winsup/cygwin/fhandler_procsys.cc | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'winsup/cygwin/fhandler_procsys.cc') diff --git a/winsup/cygwin/fhandler_procsys.cc b/winsup/cygwin/fhandler_procsys.cc index a5fd85f43..cd1d35984 100644 --- a/winsup/cygwin/fhandler_procsys.cc +++ b/winsup/cygwin/fhandler_procsys.cc @@ -432,7 +432,7 @@ fhandler_procsys::read (void *ptr, size_t& len) fhandler_base::raw_read (ptr, len); } -ssize_t __stdcall +ssize_t fhandler_procsys::write (const void *ptr, size_t len) { return fhandler_base::raw_write (ptr, len); -- cgit v1.2.3