[RFA] __cdecl changes for Cygwin

Chris Faylor cgf@cygnus.com
Wed Sep 6 12:05:00 GMT 2000


All of the functions that cygwin exports use (unfortunately) the Microsoft
__cdecl attribute.  However, this is not explicitly set in any of the newlib
header files.  This patch fixes that.

This is pretty Cygwin specific except for the addition of the new _EXFUNVAR
macro.

cgf

Wed Sep  6 13:49:51 2000  Christopher Faylor <cgf@cygnus.com>

	* libc/include/_ansi.h (_EXFUN): Define specially for __CYGWIN__.
	(_EXFUNVAR): New macro for defining a variable pointing to a function.
	* libc/include/stdlib.h: Use _EXFUNVAR.


More information about the Newlib mailing list