]> gcc.gnu.org Git - gcc.git/commitdiff
AAB_solaris_sys_varargs_h was misplaced
authorBruce Korb <korbb@gcc.gnu.org>
Sat, 31 Aug 2002 03:33:09 +0000 (03:33 +0000)
committerBruce Korb <korbb@gcc.gnu.org>
Sat, 31 Aug 2002 03:33:09 +0000 (03:33 +0000)
From-SVN: r56694

gcc/fixinc/inclhack.def

index c9617bd07d1e90d5c54337644f1e0df6f62017ee..2fce20fe7ea3b6e7dfd69cf76321e78f07e400bd 100644 (file)
@@ -219,6 +219,23 @@ fix = {
 };
 
 
+/*
+ * Solaris <sys/varargs.h> is a DDK (aka kernel-land) header providing
+ * the same interface as <stdarg.h>.  No idea why they couldn't have just
+ * used the standard header.
+ */
+fix = {
+    hackname = AAB_solaris_sys_varargs_h;
+    files    = "sys/varargs.h";
+    mach     = '*-*-solaris*';
+    replace  = "#ifdef __STDC__\n"
+              "#include <stdarg.h>\n"
+              "#else\n"
+              "#include <varargs.h>\n"
+              "#endif\n";
+};
+
+
 /*
  *  Fix non-ANSI memcpy declaration that conflicts with gcc's builtin
  *  declaration on Sun OS 4.x.  We must only fix this on Sun OS 4.x, because
@@ -258,23 +275,6 @@ extern int memcmp();
 };
 
 
-/*
- * Solaris <sys/varargs.h> is a DDK (aka kernel-land) header providing
- * the same interface as <stdarg.h>.  No idea why they couldn't have just
- * used the standard header.
- */
-fix = {
-    hackname = AAB_solaris_sys_varargs_h;
-    files    = "sys/varargs.h";
-    mach     = '*-*-solaris*';
-    replace  = "#ifdef __STDC__\n"
-              "#include <stdarg.h>\n"
-              "#else\n"
-              "#include <varargs.h>\n"
-              "#endif\n";
-};
-
-
 /*
  *  Completely replace <sys/varargs.h> with a file that includes gcc's
  *  stdarg.h or varargs.h files as appropriate.
This page took 0.064956 seconds and 5 git commands to generate.