diff options
author | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-27 02:19:07 +0000 |
---|---|---|
committer | neroden <neroden@138bc75d-0d04-0410-961f-82ee72b054a4> | 2003-08-27 02:19:07 +0000 |
commit | e88604b0758fd5e62b6c0b80d8d8694e28c00226 (patch) | |
tree | 28b4f90951a621f3d590595ffb56b2ea05ec2f5f /gcc/fixinc | |
parent | 63d4e07c1f58cf8d46db80cd089642601ddd3da4 (diff) | |
download | gcc-e88604b0758fd5e62b6c0b80d8d8694e28c00226.tar.gz |
* fixinc/tests/base/string.h, fixinc/tests/base/sys/regset.h:
Fix to match produced versions.
* fixinc/inclhack.def (longlong_t): New disabled test, ported
from fixinc.svr4.
git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@70839 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/fixinc')
-rw-r--r-- | gcc/fixinc/inclhack.def | 15 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/string.h | 6 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/sys/regset.h | 2 |
3 files changed, 19 insertions, 4 deletions
diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 34e4b871119..a5ec61ff7ac 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -1653,6 +1653,21 @@ fix = { /* + * Apparently some SVR4 systems typedef longlong_t to long ? + */ +#ifdef SVR4 +fix = { + hackname = longlong_t; + select = "typedef[ \t]+(unsigned[ \t]+)?long[ \t]+(u_)?longlong_t"; + c_fix = format; + c_fix_arg = "typedef %1long long %2longlong_t"; + test_text = "typedef long longlong_t\n" + "typedef unsigned long u_longlong_t"; +}; +#endif + + +/* * Delete the '#define void int' line from curses.h on Lynx */ fix = { diff --git a/gcc/fixinc/tests/base/string.h b/gcc/fixinc/tests/base/string.h index f32c240ae34..d70f9e08a3a 100644 --- a/gcc/fixinc/tests/base/string.h +++ b/gcc/fixinc/tests/base/string.h @@ -8,6 +8,6 @@ original, manufacturer supplied header file. */ #ifndef _STRING_INCLUDED -#define _STRING_INCLUDED -#include <strings.h> -#endif /* _STRING_INCLUDED */ + #define _STRING_INCLUDED + #include <strings.h> +#endif /* _STRING_INCLUDED */
\ No newline at end of file diff --git a/gcc/fixinc/tests/base/sys/regset.h b/gcc/fixinc/tests/base/sys/regset.h index adc31add5dd..6723427e89c 100644 --- a/gcc/fixinc/tests/base/sys/regset.h +++ b/gcc/fixinc/tests/base/sys/regset.h @@ -11,7 +11,7 @@ #if defined( SCO_REGSET_CHECK ) union u_fps { - struct rsfpstate + struct rsfpstate { int whatever; } |