aboutsummaryrefslogtreecommitdiff
path: root/gdb/complaints.c
diff options
context:
space:
mode:
authorAndrew Cagney <cagney@redhat.com>2003-01-28 19:53:25 +0000
committerAndrew Cagney <cagney@redhat.com>2003-01-28 19:53:25 +0000
commit1ae18a04ceb5b3a60107113733587d22c7b3d9b3 (patch)
tree8678511f8815e392f80cda3235c2e0602c0ed4d6 /gdb/complaints.c
parentf2c16bd605503a2ff9a98a16ca7049ef4319d690 (diff)
downloadgdb-1ae18a04ceb5b3a60107113733587d22c7b3d9b3.zip
gdb-1ae18a04ceb5b3a60107113733587d22c7b3d9b3.tar.gz
gdb-1ae18a04ceb5b3a60107113733587d22c7b3d9b3.tar.bz2
2003-01-28 Andrew Cagney <ac131313@redhat.com>
* complaints.c (complain): Delete function. * complaints.h (struct deprecated_complaint): Delete definition. (complain): Delete declaration.
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r--gdb/complaints.c10
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c
index b4c55da..4758008 100644
--- a/gdb/complaints.c
+++ b/gdb/complaints.c
@@ -249,16 +249,6 @@ internal_complaint (struct complaints **complaints, const char *file,
va_end (args);
}
-void
-complain (struct deprecated_complaint *complaint, ...)
-{
- va_list args;
- va_start (args, complaint);
- vcomplaint (&symfile_complaints, NULL/*file*/, 0/*line*/,
- complaint->message, args);
- va_end (args);
-}
-
/* Clear out / initialize all complaint counters that have ever been
incremented. If LESS_VERBOSE is 1, be less verbose about
successive complaints, since the messages are appearing all