diff options
author | Christopher Faylor <me@cgf.cx> | 2005-03-19 21:45:15 +0000 |
---|---|---|
committer | Christopher Faylor <me@cgf.cx> | 2005-03-19 21:45:15 +0000 |
commit | f5808137717eebb5b38607834016ed733374ccc5 (patch) | |
tree | 47b3b7fc8def7b9454961a121d3172aa7ce741d1 /winsup/cygwin/smallprint.c | |
parent | cfaf367058257bdeb2fb93250684335b00f5854f (diff) | |
download | cygnal-f5808137717eebb5b38607834016ed733374ccc5.tar.gz cygnal-f5808137717eebb5b38607834016ed733374ccc5.tar.bz2 cygnal-f5808137717eebb5b38607834016ed733374ccc5.zip |
* child_info.h (fork_info): Use different method to alias variable.
(spawn_info): Ditto.
* cxx.cc (__cxa_guard_acquire): New function (needed for gcc 4.x).
(__cxa_guard_release): Ditto.
* devices.in: Make sure stuff is correctly bracketed (for gcc 4.x).
* devices.cc: Regenerate.
* fhandler.h (fhandler_disk_file::fchmod): Avoid left coercion (for gcc 4.x).
* smallprint.c (__rn): Declare as __fastcall since gcc 4.x complains about use
of regparm, for some reason.
* sync.h (sync::init_lock): Remove.
* sync.cc (sync::init_lock): Ditto.
Diffstat (limited to 'winsup/cygwin/smallprint.c')
-rw-r--r-- | winsup/cygwin/smallprint.c | 6 |
1 files changed, 1 insertions, 5 deletions
diff --git a/winsup/cygwin/smallprint.c b/winsup/cygwin/smallprint.c index 6ad95c6e4..851e1414c 100644 --- a/winsup/cygwin/smallprint.c +++ b/winsup/cygwin/smallprint.c @@ -24,11 +24,7 @@ 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, long), 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 * +static char __fastcall * __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 */ |