* 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
+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
error VPROTO((const char * msgid, ...))
{
#ifndef ANSI_PROTOTYPES
- const char * string;
+ const char * msgid;
#endif
va_list ap;
#ifndef ANSI_PROTOTYPES
cpp_reader *pfile;
int is_error;
- const char *msg;
+ const char *msgid;
#endif
va_list ap;
{
#ifndef ANSI_PROTOTYPES
cpp_reader *pfile;
- const char *msg;
+ const char *msgid;
#endif
va_list ap;
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 *,
VA_START (ap, msgid);
#ifndef ANSI_PROTOTYPES
- msgic = va_arg (ap, const char *);
+ msgid = va_arg (ap, const char *);
#endif
verror (msgid, ap);