#include "defs.h"
#include "complaints.h"
#include "gdbcmd.h"
+#ifdef ANSI_PROTOTYPES
+#include <stdarg.h>
+#else
#include <varargs.h>
+#endif
/* Structure to manage complaints about symbol file contents. */
/* VARARGS */
void
+#ifdef ANSI_PROTOTYPES
+complain (struct complaint *complaint, ...)
+#else
complain (va_alist)
va_dcl
+#endif
{
va_list args;
+#ifdef ANSI_PROTOTYPES
+ va_start (args, complaint);
+#else
struct complaint *complaint;
va_start (args);
complaint = va_arg (args, struct complaint *);
+#endif
+
complaint -> counter++;
if (complaint -> next == NULL)
{