+Fri Jan 29 15:00:39 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
+
+ * toplev.c (notice, fnotice): Check ANSI_PROTOTYPES, not __STDC__,
+ when declaring arguments and calling va_arg() to initialize them.
+
+ * collect2.c (notice): Likewise.
+
+ * loop.c (find_life_end): Use PROTO() macro in the prototype.
+
Fri Jan 29 14:36:11 1999 Kaveh R. Ghazi <ghazi@caip.rutgers.edu>
* collect2.c (error): Fix typo in declaration.
void
notice VPROTO((char *msgid, ...))
{
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
char *msgid;
#endif
va_list ap;
VA_START (ap, msgid);
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
msgid = va_arg (ap, char *);
#endif
static rtx combine_givs_p PROTO((struct induction *, struct induction *));
static void combine_givs PROTO((struct iv_class *));
struct recombine_givs_stats;
-static int find_life_end (rtx, struct recombine_givs_stats *, rtx, rtx);
+static int find_life_end PROTO((rtx, struct recombine_givs_stats *, rtx, rtx));
static void recombine_givs PROTO((struct iv_class *, rtx, rtx, int));
static int product_cheap_p PROTO((rtx, rtx));
static int maybe_eliminate_biv PROTO((struct iv_class *, rtx, rtx, int, int, int));
void
notice VPROTO((const char *msgid, ...))
{
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
char *msgid;
#endif
va_list ap;
VA_START (ap, msgid);
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
msgid = va_arg (ap, char *);
#endif
void
fnotice VPROTO((FILE *file, char *msgid, ...))
{
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
FILE *file;
char *msgid;
#endif
VA_START (ap, msgid);
-#ifndef __STDC__
+#ifndef ANSI_PROTOTYPES
file = va_arg (ap, FILE *);
msgid = va_arg (ap, char *);
#endif