diff options
author | Danny Smith <dannysmith@users.sourceforge.net> | 2004-07-27 03:45:03 +0400 |
---|---|---|
committer | Danny Smith <dannysmith@users.sourceforge.net> | 2004-07-27 03:45:03 +0400 |
commit | 756301b7debe96a89296ff3df7c21bac44e78889 (patch) | |
tree | 74d80c2c04ee717564b027537dbfe2b405774096 /winsup | |
parent | 264629853168b857eb8e0076eadfd2b243fd2847 (diff) |
* include/_mingw.h: Use only two underscores to uglify
__MINGW_ATTRIB_* macros.
* include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens.
* includ/setjmp.h: Likewise.
* include/sting.h: Add __MINGW_ATTRIB_PURE to locale-independent
string functions.
(_strdup, strdup): Add __MINGW_ATTRIB_MALLOC.
Diffstat (limited to 'winsup')
-rw-r--r-- | winsup/mingw/ChangeLog | 9 | ||||
-rw-r--r-- | winsup/mingw/mingwex/stdio/vfscanf.c | 2 | ||||
-rw-r--r-- | winsup/mingw/mingwex/stdio/vfwscanf.c | 2 |
3 files changed, 10 insertions, 3 deletions
diff --git a/winsup/mingw/ChangeLog b/winsup/mingw/ChangeLog index 970294bbd..1bfd591f2 100644 --- a/winsup/mingw/ChangeLog +++ b/winsup/mingw/ChangeLog @@ -1,5 +1,12 @@ 2004-07-26 Danny Smith <dannysmith@users.sourceforge.net> + * mingwex/stdio/vsscanf: Add "edi" to registers-modified field + * mingwex/stdio/vfscanf: Likewise. + * mingwex/stdio/vswscanf: Likewise. + * mingwex/stdio/vfwscanf: Likewise. + +2004-07-26 Danny Smith <dannysmith@users.sourceforge.net> + * include/_mingw.h: Use only two underscores to uglify __MINGW_ATTRIB_* macros. * include/stdlib.h: Adjust __MINGW_ATTRIB_* tokens. @@ -19,7 +26,7 @@ * include/_mingw.h (__MINGW_ATTR_*): Replace with __MINGW_ATTRIB_*. * include/stdlib.h (_ATTRIB_NORETURN): Replace with - __MINGW_ATTRIB_NOREURN, throughout. + __MINGW_ATTRIB_NORETURN, throughout. (malloc): Declare with __MINGW_ATTRIB_MALLOC. (calloc): Likewise. (abs): Declare with __MINGW_ATTRIB_CONST. diff --git a/winsup/mingw/mingwex/stdio/vfscanf.c b/winsup/mingw/mingwex/stdio/vfscanf.c index 41549f9e4..3c1b137a8 100644 --- a/winsup/mingw/mingwex/stdio/vfscanf.c +++ b/winsup/mingw/mingwex/stdio/vfscanf.c @@ -34,7 +34,7 @@ int vfscanf(FILE * __restrict__ stream, const char * __restrict__ format, va_lis : "=a"(ret), "=c"(stream), "=d"(format) : "1"(stream), "2"(format), "S"(arg), "a"(&ret) - : "ebx"); + : "ebx", "edi"); return ret; } diff --git a/winsup/mingw/mingwex/stdio/vfwscanf.c b/winsup/mingw/mingwex/stdio/vfwscanf.c index 8fa33376e..2a1d095bc 100644 --- a/winsup/mingw/mingwex/stdio/vfwscanf.c +++ b/winsup/mingw/mingwex/stdio/vfwscanf.c @@ -36,7 +36,7 @@ int vfwscanf(FILE * __restrict__ stream, const wchar_t * __restrict__ format, : "=a"(ret), "=c"(stream), "=d"(format) : "1"(stream), "2"(format), "S"(arg), "a"(&ret) - : "ebx"); + : "ebx", "edi"); return ret; } |