This is the mail archive of the ecos-patches@sources.redhat.com mailing list for the eCos project.


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]
Other format: [Raw text]

minor isoinfra patch


As per ecos-discuss, <stdlib.h> had a dependency on
<cyg/infra/cyg_type.h> but did not explicitly #include it. So code
that #include's <stdlib.h> first would give a compile-time error.

Bart

2002-12-12  Bart Veer  <bartv@ecoscentric.com>

	* include/stdlib.h: #include cyg_type.h, now that this header
	uses NORET attributes

--- stdlib.h	23 May 2002 23:06:43 -0000	1.5
+++ stdlib.h	15 Dec 2002 21:14:48 -0000
@@ -70,6 +70,8 @@
 #define __need_wchar_t
 #include <stddef.h>
 
+#include <cyg/infra/cyg_type.h>     /* For CYGBLD_ATTRIB_NORET etc. */
+
 /*==========================================================================*/
 
 #if CYGINT_ISO_STDLIB_STRCONV


Index Nav: [Date Index] [Subject Index] [Author Index] [Thread Index]
Message Nav: [Date Prev] [Date Next] [Thread Prev] [Thread Next]