diff options
author | Hans-Peter Nilsson <hp@bitrange.com> | 2002-10-27 17:58:36 +0000 |
---|---|---|
committer | Hans-Peter Nilsson <hp@gcc.gnu.org> | 2002-10-27 17:58:36 +0000 |
commit | d7521977ebbb90ba529d60d3776a02a001ae0591 (patch) | |
tree | 16ea6cfb6fd065469f8fc8f64ab7efea0e7bb4fd | |
parent | f7cf1c7492401e498f9e35b6b047a43b1989ce7b (diff) | |
download | gcc-d7521977ebbb90ba529d60d3776a02a001ae0591.zip gcc-d7521977ebbb90ba529d60d3776a02a001ae0591.tar.gz gcc-d7521977ebbb90ba529d60d3776a02a001ae0591.tar.bz2 |
inclhack.def (libc1_G_va_list): Correct test_text.
* fixinc/inclhack.def (libc1_G_va_list): Correct test_text.
* fixinc/tests/base/_G_config.h: New file.
From-SVN: r58585
-rw-r--r-- | gcc/ChangeLog | 5 | ||||
-rw-r--r-- | gcc/fixinc/inclhack.def | 2 | ||||
-rw-r--r-- | gcc/fixinc/tests/base/_G_config.h | 14 |
3 files changed, 20 insertions, 1 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index 7d1ef85..caba3b3 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,8 @@ +2002-10-27 Hans-Peter Nilsson <hp@bitrange.com> + + * fixinc/inclhack.def (libc1_G_va_list): Correct test_text. + * fixinc/tests/base/_G_config.h: New file. + 2002-10-27 Kazu Hirata <kazu@cs.umass.edu> * combine.c: Fix comment formatting. diff --git a/gcc/fixinc/inclhack.def b/gcc/fixinc/inclhack.def index 677b3cc..f332965 100644 --- a/gcc/fixinc/inclhack.def +++ b/gcc/fixinc/inclhack.def @@ -1491,7 +1491,7 @@ fix = { select = 'typedef void \* _G_va_list;'; c_fix = format; c_fix_arg = "typedef __builtin_va_list _G_va_list;"; - test_text = 'typedef __builtin_va_list _G_va_list;'; + test_text = 'typedef void * _G_va_list;'; }; diff --git a/gcc/fixinc/tests/base/_G_config.h b/gcc/fixinc/tests/base/_G_config.h new file mode 100644 index 0000000..99f0c82 --- /dev/null +++ b/gcc/fixinc/tests/base/_G_config.h @@ -0,0 +1,14 @@ +/* DO NOT EDIT THIS FILE. + + It has been auto-edited by fixincludes from: + + "fixinc/tests/inc/_G_config.h" + + This had to be done to correct non-standard usages in the + original, manufacturer supplied header file. */ + + + +#if defined( LIBC1_G_VA_LIST_CHECK ) +typedef __builtin_va_list _G_va_list; +#endif /* LIBC1_G_VA_LIST_CHECK */ |