summaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r--gdb/complaints.c13
1 files changed, 0 insertions, 13 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c
index 3c05912911d..5903a4e47a5 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -60,24 +60,11 @@ extern int info_verbose;
/* Print a complaint about the input symbols, and link the complaint block
into a chain for later handling. */
-/* 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)