summaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
authorJason Molenda <jsm@bugshack.cygnus.com>1999-08-09 21:33:11 +0000
committerJason Molenda <jsm@bugshack.cygnus.com>1999-08-09 21:33:11 +0000
commitd4886c3ba4261064551190a6e72f1299a65b576f (patch)
tree921e4b983ea72a9b39a2c04154940c1875464813 /gdb/complaints.c
parentf84a47ce8a7028902e7294c173c8720aca82fa5d (diff)
downloadgdb-d4886c3ba4261064551190a6e72f1299a65b576f.tar.gz
import gdb-1999-08-09 snapshotgdb-1999-08-09
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)