* fixinc/inclhack.def (winidss_valist): Limit applicability.
* fixinc/fixincl.x: Regenerated.
* fixinc/tests/base/math.h: Update.
* fixinc/tests/base/testing.h: Likewise.
From-SVN: r53441
+2002-05-13 Mark Mitchell <mark@codesourcery.com>
+
+ * fixinc/inclhack.def (winidss_valist): Limit applicability.
+ * fixinc/fixincl.x: Regenerated.
+ * fixinc/tests/base/math.h: Update.
+ * fixinc/tests/base/testing.h: Likewise.
+
2002-05-13 Zack Weinberg <zack@codesourcery.com>
* genattr.c (gen_attr): Don't emit a comma after the last
tSCC* apzWindiss_ValistMachs[] = {
"*-*-windiss",
(const char*)NULL };
-#define WINDISS_VALIST_TEST_CT 0
-#define aWindiss_ValistTests (tTestDesc*)NULL
+
+/*
+ * content selection pattern - do fix if pattern found
+ */
+tSCC zWindiss_ValistSelect0[] =
+ "(#include.*)diab/va_list.h";
+
+#define WINDISS_VALIST_TEST_CT 1
+static tTestDesc aWindiss_ValistTests[] = {
+ { TT_EGREP, zWindiss_ValistSelect0, (regex_t*)NULL }, };
/*
* Fix Command Arguments for Windiss_Valist
*
* List of all fixes
*/
-#define REGEX_COUNT 151
+#define REGEX_COUNT 152
#define MACH_LIST_SIZE_LIMIT 279
#define FIX_COUNT 145
* WindISS headers include "diab/va_list.h" instead of "stdarg.h"
*/
fix = {
+ select = '(#include.*)diab/va_list.h';
hackname = windiss_valist;
sed = "s|diab/va_list.h|stdarg.h|";
mach = "*-*-windiss";
extern double atof(const char *__nptr);
#endif /* ULTRIX_ATOF_PARAM_CHECK */
+
+
+#if defined( WINDISS_MATH1_CHECK )
+#ifndef __GNUC__
+#endif /* WINDISS_MATH1_CHECK */
+
+
+#if defined( WINDISS_MATH2_CHECK )
+#endif /* __GNUC__ */
+#endif /* WINDISS_MATH2_CHECK */
#ifdef __cplusplus
#undef exception
#endif
#endif
#endif /* UNDEFINE_NULL_CHECK */
+
+
+#if defined( WINDISS_VALIST_CHECK )
+#include <stdarg.h>
+#endif /* WINDISS_VALIST_CHECK */