diff options
author | Kaveh R. Ghazi <ghazi@caip.rutgers.edu> | 1999-01-29 11:41:02 +0000 |
---|---|---|
committer | Kaveh Ghazi <ghazi@gcc.gnu.org> | 1999-01-29 11:41:02 +0000 |
commit | 1c5d09e4af5c154cea90ff98610c15b70f6ba606 (patch) | |
tree | c3cb102b4a0f46fc17ea8828e5d857647ce42108 /gcc | |
parent | 22b4cc659540fea9ce63b60dcf36e1727f036eee (diff) | |
download | gcc-1c5d09e4af5c154cea90ff98610c15b70f6ba606.zip gcc-1c5d09e4af5c154cea90ff98610c15b70f6ba606.tar.gz gcc-1c5d09e4af5c154cea90ff98610c15b70f6ba606.tar.bz2 |
collect2.c (error): Fix typo in declaration.
* collect2.c (error): Fix typo in declaration.
* cpperror.c (cpp_message): Likewise.
* cpplib.c (cpp_warning): Likewise.
* cpplib.h (cpp_notice): Use PVPROTO not VPROTO, also add
ATTRIBUTE_PRINTF_1.
* toplev.c (error): Fix typo in declaration.
From-SVN: r24904
Diffstat (limited to 'gcc')
-rw-r--r-- | gcc/ChangeLog | 13 | ||||
-rw-r--r-- | gcc/collect2.c | 2 | ||||
-rw-r--r-- | gcc/cpperror.c | 2 | ||||
-rw-r--r-- | gcc/cpplib.c | 2 | ||||
-rw-r--r-- | gcc/cpplib.h | 2 | ||||
-rw-r--r-- | gcc/toplev.c | 2 |
6 files changed, 18 insertions, 5 deletions
diff --git a/gcc/ChangeLog b/gcc/ChangeLog index a98a5fc..cbeb160 100644 --- a/gcc/ChangeLog +++ b/gcc/ChangeLog @@ -1,3 +1,16 @@ +Fri Jan 29 14:36:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu> + + * collect2.c (error): Fix typo in declaration. + + * cpperror.c (cpp_message): Likewise. + + * cpplib.c (cpp_warning): Likewise. + + * cpplib.h (cpp_notice): Use PVPROTO not VPROTO, also add + ATTRIBUTE_PRINTF_1. + + * toplev.c (error): Fix typo in declaration. + Fri Jan 29 15:44:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk> * loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning diff --git a/gcc/collect2.c b/gcc/collect2.c index b640775..6ec9f31 100644 --- a/gcc/collect2.c +++ b/gcc/collect2.c @@ -476,7 +476,7 @@ void error VPROTO((const char * msgid, ...)) { #ifndef ANSI_PROTOTYPES - const char * string; + const char * msgid; #endif va_list ap; diff --git a/gcc/cpperror.c b/gcc/cpperror.c index af7ab8c..174450b 100644 --- a/gcc/cpperror.c +++ b/gcc/cpperror.c @@ -129,7 +129,7 @@ cpp_message VPROTO ((cpp_reader *pfile, int is_error, const char *msgid, ...)) #ifndef ANSI_PROTOTYPES cpp_reader *pfile; int is_error; - const char *msg; + const char *msgid; #endif va_list ap; diff --git a/gcc/cpplib.c b/gcc/cpplib.c index b1c2f6d..770956b 100644 --- a/gcc/cpplib.c +++ b/gcc/cpplib.c @@ -6277,7 +6277,7 @@ cpp_warning VPROTO ((cpp_reader * pfile, const char *msgid, ...)) { #ifndef ANSI_PROTOTYPES cpp_reader *pfile; - const char *msg; + const char *msgid; #endif va_list ap; diff --git a/gcc/cpplib.h b/gcc/cpplib.h index 1b82e18..bd04192 100644 --- a/gcc/cpplib.h +++ b/gcc/cpplib.h @@ -713,7 +713,7 @@ extern void cpp_message PVPROTO ((cpp_reader *, int, const char *, ...)) extern void cpp_pfatal_with_name PROTO ((cpp_reader *, const char *)); extern void cpp_file_line_for_message PROTO ((cpp_reader *, char *, int, int)); extern void cpp_print_containing_files PROTO ((cpp_reader *)); -extern void cpp_notice VPROTO ((const char *msgid, ...)); +extern void cpp_notice PVPROTO ((const char *msgid, ...)) ATTRIBUTE_PRINTF_1; /* In cppfiles.c */ extern void append_include_chain PROTO ((cpp_reader *, diff --git a/gcc/toplev.c b/gcc/toplev.c index bee1e8e..4ecc9c9 100644 --- a/gcc/toplev.c +++ b/gcc/toplev.c @@ -1852,7 +1852,7 @@ error VPROTO((const char *msgid, ...)) VA_START (ap, msgid); #ifndef ANSI_PROTOTYPES - msgic = va_arg (ap, const char *); + msgid = va_arg (ap, const char *); #endif verror (msgid, ap); |