summaryrefslogtreecommitdiff
path: root/gcc/errors.c
diff options
context:
space:
mode:
authorghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-14 17:14:43 +0000
committerghazi <ghazi@138bc75d-0d04-0410-961f-82ee72b054a4>2000-01-14 17:14:43 +0000
commit621f6678bd276a87e8bf36b04c507b19ef1e0c49 (patch)
treec581c8d237ef2fffdfeee6182fd81e25ea6ed527 /gcc/errors.c
parentb7dbbdb2257d8eb618342a6e26688eb8036b10a1 (diff)
downloadgcc-621f6678bd276a87e8bf36b04c507b19ef1e0c49.tar.gz
* eh-common.h: PROTO -> PARAMS.
* emit-rtl.c: Likewise. * errors.c: Likewise. * errors.h: Likewise. * except.c: Likewise. * except.h: Likewise. * explow.c: Likewise. * expmed.c: Likewise. * expr.c: Likewise. * expr.h: Likewise. * final.c: Likewise. * fix-header.c: Likewise. * flow.c: Likewise. * fold-const.c: Likewise. * function.c: Likewise. * function.h: Likewise. * gcc.c: Likewise. * gcov-io.h: Likewise. * gcov.c: Likewise. * gcse.c: Likewise. git-svn-id: svn+ssh://gcc.gnu.org/svn/gcc/trunk@31419 138bc75d-0d04-0410-961f-82ee72b054a4
Diffstat (limited to 'gcc/errors.c')
-rw-r--r--gcc/errors.c8
1 files changed, 4 insertions, 4 deletions
diff --git a/gcc/errors.c b/gcc/errors.c
index 556e7403a77..bc3667e9289 100644
--- a/gcc/errors.c
+++ b/gcc/errors.c
@@ -1,5 +1,5 @@
/* Basic error reporting routines.
- Copyright (C) 1999 Free Software Foundation, Inc.
+ Copyright (C) 1999, 2000 Free Software Foundation, Inc.
This file is part of GNU CC.
@@ -37,7 +37,7 @@ int have_error = 0;
/* Print a warning message - output produced, but there may be problems. */
void
-warning VPROTO ((const char *format, ...))
+warning VPARAMS ((const char *format, ...))
{
#ifndef ANSI_PROTOTYPES
const char *format;
@@ -60,7 +60,7 @@ warning VPROTO ((const char *format, ...))
/* Print an error message - we keep going but the output is unusable. */
void
-error VPROTO ((const char *format, ...))
+error VPARAMS ((const char *format, ...))
{
#ifndef ANSI_PROTOTYPES
const char *format;
@@ -85,7 +85,7 @@ error VPROTO ((const char *format, ...))
/* Fatal error - terminate execution immediately. Does not return. */
void
-fatal VPROTO ((const char *format, ...))
+fatal VPARAMS ((const char *format, ...))
{
#ifndef ANSI_PROTOTYPES
const char *format;