diff options
author | Andreas Jaeger <aj@suse.de> | 2001-08-27 08:48:43 +0200 |
---|---|---|
committer | Andreas Jaeger <aj@gcc.gnu.org> | 2001-08-27 08:48:43 +0200 |
commit | 7a75edb707a02506432d73b93b38c8a4f10de79e (patch) | |
tree | 58234e1acd4f13f4f073a6ad3b59cad11faacb33 /gcc/fix-header.c | |
parent | 6baff4c1e804d360bf220142a24212f2e5759ad1 (diff) | |
download | gcc-7a75edb707a02506432d73b93b38c8a4f10de79e.zip gcc-7a75edb707a02506432d73b93b38c8a4f10de79e.tar.gz gcc-7a75edb707a02506432d73b93b38c8a4f10de79e.tar.bz2 |
emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
* emit-rtl.c: Use VA_OPEN/VA_CLOSE/VA_FIXEDARG throughout.
* errors.c: Likewise.
* final.c: Likewise.
* dwarf2asm.c: Likewise.
* doprint.c (checkit): Likewise.
* diagnostic.c: Likewise.
* collect2.c: Likewise.
* calls.c: Likewise.
* c-semantics.c (build_stmt): Likewise.
* c-format.c (status_warning): Likewise.
* c-errors.c (pedwarn_c99): Likewise.
* builtins.c (validate_arglist): Likewise.
* config/pj/pj.c (pj_printf): Likewise.
* fix-header.c: Likewise.
* gcc.c: Likewise.
* gcov.c (fnotice): Likewise.
* gensupport.c (message_with_line): Likewise.
* mips-tfile.c: Likewise.
* protoize.c (notice): Likewise.
* read-rtl.c (fatal_with_file_and_line): Likewise.
* rtl-error.c: Likewise.
* tradcpp.c: Likewise.
* tree.c: Likewise.
* cp/tree.c (build_min_nt): Likewise.
(build_min): Likewise.
* cp/lex.c: Likewise.
* cp/errfn.c: Likewise.
* cp/rtti.c (create_pseudo_type_info): Likewise.
From-SVN: r45185
Diffstat (limited to 'gcc/fix-header.c')
-rw-r--r-- | gcc/fix-header.c | 16 |
1 files changed, 4 insertions, 12 deletions
diff --git a/gcc/fix-header.c b/gcc/fix-header.c index 068cc69..24cbfef 100644 --- a/gcc/fix-header.c +++ b/gcc/fix-header.c @@ -1,6 +1,6 @@ /* fix-header.c - Make C header file suitable for C++. Copyright (C) 1993, 1994, 1995, 1996, 1997, 1998, - 1999, 2000 Free Software Foundation, Inc. + 1999, 2000, 2001 Free Software Foundation, Inc. This program is free software; you can redistribute it and/or modify it under the terms of the GNU General Public License as published by the @@ -1317,17 +1317,9 @@ v_fatal (str, ap) static void fatal VPARAMS ((const char *str, ...)) { -#ifndef ANSI_PROTOTYPES - const char *str; -#endif - va_list ap; - - VA_START (ap, str); - -#ifndef ANSI_PROTOTYPES - str = va_arg (ap, const char *); -#endif + VA_OPEN (ap, str); + VA_FIXEDARG (ap, const char *, str); v_fatal (str, ap); - va_end (ap); + VA_CLOSE (ap); } |