OSDN Git Service

Correct spurious whitespace differences
[pf3gnuchains/gcc-fork.git] / gcc / fixinc / inclhack.def
index ad389f5..3aa46c4 100644 (file)
@@ -208,13 +208,13 @@ fix = {
     replace  = "/* This file was generated by fixincludes.  */\n"
                "#ifndef _SYS_VARARGS_H\n"
                "#define _SYS_VARARGS_H\n\n"
-                                                                                
+
                "#ifdef __STDC__\n"
                "#include <stdarg.h>\n"
                "#else\n"
                "#include <varargs.h>\n"
                "#endif\n\n"
-                                                                                
+
                "#endif  /* _SYS_VARARGS_H */\n";
 };
 #endif
@@ -379,6 +379,7 @@ fix = {
        _EndOfHeader_;
 };
 
+
 /*
  *  Cancel out ansi_compat.h on Ultrix.  Replace it with an empty file.
  */
@@ -721,26 +722,6 @@ fix = {
 
 
 /*
- *  Various systems derived from BSD4.4 contain a macro definition
- *  for vfscanf that interacts badly with requirements of builtin-attrs.def.
- *  Known to be fixed in FreeBSD 5 system headers.
- */
-fix = {
-    hackname  = bsd_stdio_attrs_conflict;
-    mach      = *-*-*bsd*;
-    mach      = *-*-*darwin*;
-    files     = stdio.h;
-    select    = "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
-    c_fix     = format;
-    c_fix_arg = '#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)' "\n"
-               '#define _BSD_STRINGX(_BSD_X) #_BSD_X' "\n"
-               'int vfscanf(FILE *, const char *, __builtin_va_list) '
-               '__asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) "__svfscanf");';
-    test_text = '#define  vfscanf      __svfscanf';
-};
-
-
-/*
  *  check for broken assert.h that needs stdio.h
  */
 fix = {
@@ -796,6 +777,26 @@ fix = {
 
 
 /*
+ *  Various systems derived from BSD4.4 contain a macro definition
+ *  for vfscanf that interacts badly with requirements of builtin-attrs.def.
+ *  Known to be fixed in FreeBSD 5 system headers.
+ */
+fix = {
+    hackname  = bsd_stdio_attrs_conflict;
+    mach      = *-*-*bsd*;
+    mach      = *-*-*darwin*;
+    files     = stdio.h;
+    select    = "^#define[ \t]*vfscanf[ \t]*__svfscanf[ \t]*$";
+    c_fix     = format;
+    c_fix_arg = '#define _BSD_STRING(_BSD_X) _BSD_STRINGX(_BSD_X)' "\n"
+               '#define _BSD_STRINGX(_BSD_X) #_BSD_X' "\n"
+               'int vfscanf(FILE *, const char *, __builtin_va_list) '
+               '__asm__ (_BSD_STRING(__USER_LABEL_PREFIX__) "__svfscanf");';
+    test_text = '#define  vfscanf      __svfscanf';
+};
+
+
+/*
  *  Fix various macros used to define ioctl numbers.
  *  The traditional syntax was:
  *
@@ -2016,6 +2017,7 @@ fix = {
     test_text = 'extern int rename(const char *old, const char *new);';
 };
 
+
 /*
  *  On OpenServer and on UnixWare 7, <math.h> uses the native compiler
  *  __builtin_generic. We fix that usage to use the GCC equivalent.
@@ -2057,6 +2059,7 @@ fix = {
 
 };
 
+
 /*
  *  On SCO OpenServer prior to 5.0.7UP1, <sys/regset.h> and <ieeefp.h>
  *  have a clash on struct _fpstate and struct fpstate.
@@ -2084,6 +2087,7 @@ fix = {
     "};\n";
 };
 
+
 /*
  *  The static functions lstat() and fchmod() in <sys/stat.h>
  *  cause G++ grief since they're not wrapped in "if __cplusplus".
@@ -2595,6 +2599,7 @@ fix = {
     test_text = "#define strlen __std_hdr_strlen\n";
 };
 
+
 /*
  *  Conditionalize some of <sys/endian.h> on __GNUC__ and __GNUG__.
  *  On some systems (UnixWare 2, UnixWare 7), the file is byteorder.h