[newlib-cygwin] Cygwin: drop __fastcall calling convention specifiers

Corinna Vinschen corinna@sourceware.org
Fri Aug 19 20:56:30 GMT 2022


https://sourceware.org/git/gitweb.cgi?p=newlib-cygwin.git;h=1b2d3d1f945159efc2bf2214afa656bf25781490

commit 1b2d3d1f945159efc2bf2214afa656bf25781490
Author: Corinna Vinschen <corinna@vinschen.de>
Date:   Fri Aug 19 21:52:45 2022 +0200

    Cygwin: drop __fastcall calling convention specifiers
    
    Signed-off-by: Corinna Vinschen <corinna@vinschen.de>

Diff:
---
 winsup/cygwin/smallprint.cc | 4 ++--
 1 file changed, 2 insertions(+), 2 deletions(-)

diff --git a/winsup/cygwin/smallprint.cc b/winsup/cygwin/smallprint.cc
index 4ec4b279c..d64e3fdcb 100644
--- a/winsup/cygwin/smallprint.cc
+++ b/winsup/cygwin/smallprint.cc
@@ -82,7 +82,7 @@ public:
 WCHAR tmpbuf::buf[NT_MAX_PATH];
 NO_COPY muto tmpbuf::lock;
 
-static char __fastcall *
+static char *
 __rn (char *dst, int base, int dosign, long long val, int len, int pad, unsigned long long mask)
 {
   /* longest number is ULLONG_MAX, 18446744073709551615, 20 digits */
@@ -425,7 +425,7 @@ console_printf (const char *fmt, ...)
 #define wrnarg(dst, base, dosign, len, pad) __wrn ((dst), (base), (dosign), va_arg (ap, long), len, pad, LMASK)
 #define wrnargLL(dst, base, dosign, len, pad) __wrn ((dst), (base), (dosign), va_arg (ap, unsigned long long), len, pad, LLMASK)
 
-static PWCHAR __fastcall
+static PWCHAR
 __wrn (PWCHAR dst, int base, int dosign, long long val, int len, int pad, unsigned long long mask)
 {
   /* longest number is ULLONG_MAX, 18446744073709551615, 20 digits */


More information about the Cygwin-cvs mailing list