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:
parent
22b4cc6595
commit
1c5d09e4af
|
@ -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>
|
Fri Jan 29 15:44:13 1999 J"orn Rennecke <amylaar@cygnus.co.uk>
|
||||||
|
|
||||||
* loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning
|
* loop.c (strength_reduce): Fix HAVE_cc0 handling when scanning
|
||||||
|
|
|
@ -476,7 +476,7 @@ void
|
||||||
error VPROTO((const char * msgid, ...))
|
error VPROTO((const char * msgid, ...))
|
||||||
{
|
{
|
||||||
#ifndef ANSI_PROTOTYPES
|
#ifndef ANSI_PROTOTYPES
|
||||||
const char * string;
|
const char * msgid;
|
||||||
#endif
|
#endif
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
|
|
|
@ -129,7 +129,7 @@ cpp_message VPROTO ((cpp_reader *pfile, int is_error, const char *msgid, ...))
|
||||||
#ifndef ANSI_PROTOTYPES
|
#ifndef ANSI_PROTOTYPES
|
||||||
cpp_reader *pfile;
|
cpp_reader *pfile;
|
||||||
int is_error;
|
int is_error;
|
||||||
const char *msg;
|
const char *msgid;
|
||||||
#endif
|
#endif
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
|
|
|
@ -6277,7 +6277,7 @@ cpp_warning VPROTO ((cpp_reader * pfile, const char *msgid, ...))
|
||||||
{
|
{
|
||||||
#ifndef ANSI_PROTOTYPES
|
#ifndef ANSI_PROTOTYPES
|
||||||
cpp_reader *pfile;
|
cpp_reader *pfile;
|
||||||
const char *msg;
|
const char *msgid;
|
||||||
#endif
|
#endif
|
||||||
va_list ap;
|
va_list ap;
|
||||||
|
|
||||||
|
|
|
@ -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_pfatal_with_name PROTO ((cpp_reader *, const char *));
|
||||||
extern void cpp_file_line_for_message PROTO ((cpp_reader *, char *, int, int));
|
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_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 */
|
/* In cppfiles.c */
|
||||||
extern void append_include_chain PROTO ((cpp_reader *,
|
extern void append_include_chain PROTO ((cpp_reader *,
|
||||||
|
|
|
@ -1852,7 +1852,7 @@ error VPROTO((const char *msgid, ...))
|
||||||
VA_START (ap, msgid);
|
VA_START (ap, msgid);
|
||||||
|
|
||||||
#ifndef ANSI_PROTOTYPES
|
#ifndef ANSI_PROTOTYPES
|
||||||
msgic = va_arg (ap, const char *);
|
msgid = va_arg (ap, const char *);
|
||||||
#endif
|
#endif
|
||||||
|
|
||||||
verror (msgid, ap);
|
verror (msgid, ap);
|
||||||
|
|
Loading…
Reference in New Issue