diff --git a/winsup/cygwin/ChangeLog b/winsup/cygwin/ChangeLog index 7427b111d..81247a4d2 100644 --- a/winsup/cygwin/ChangeLog +++ b/winsup/cygwin/ChangeLog @@ -1,3 +1,7 @@ +2005-01-31 Christopher Faylor + + * smallprint.c (__rn): Regparmize. + 2005-01-31 Christopher Faylor * smallprint.c (rnarg): New macro. diff --git a/winsup/cygwin/smallprint.c b/winsup/cygwin/smallprint.c index 2528eec98..43d0decd4 100644 --- a/winsup/cygwin/smallprint.c +++ b/winsup/cygwin/smallprint.c @@ -24,6 +24,10 @@ int __small_vsprintf (char *dst, const char *fmt, va_list ap); #define rnarg(dst, base, dosign, len, pad) __rn ((dst), (base), (dosign), va_arg (ap, unsigned), len, pad, LMASK) #define rnargLL(dst, base, dosign, len, pad) __rn ((dst), (base), (dosign), va_arg (ap, unsigned long long), len, pad, LLMASK) +static char * __rn (char *, int, int, long long, int, int, + unsigned long long) __attribute__ ((regparm (3))); + + static char * __rn (char *dst, int base, int dosign, long long val, int len, int pad, unsigned long long mask) {