4
0
mirror of git://sourceware.org/git/newlib-cygwin.git synced 2025-01-18 12:29:32 +08:00

* 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.
This commit is contained in:
Danny Smith 2004-07-26 23:45:03 +00:00
parent 2646298531
commit 756301b7de
3 changed files with 10 additions and 3 deletions

View File

@ -1,3 +1,10 @@
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
@ -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.

View File

@ -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;
}

View File

@ -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;
}