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
This commit is contained in:
Kaveh R. Ghazi 1999-01-29 11:41:02 +00:00 committed by Kaveh Ghazi
parent 22b4cc6595
commit 1c5d09e4af
6 changed files with 18 additions and 5 deletions

View File

@ -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

View File

@ -476,7 +476,7 @@ void
error VPROTO((const char * msgid, ...))
{
#ifndef ANSI_PROTOTYPES
const char * string;
const char * msgid;
#endif
va_list ap;

View File

@ -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;

View File

@ -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;

View File

@ -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 *,

View File

@ -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);