aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Tromey <tom@tromey.com>2018-05-27 21:26:11 -0600
committerTom Tromey <tom@tromey.com>2018-10-04 13:40:10 -0600
commit3f2cf4dcd578d60fcdbbc28e720badffe8c15661 (patch)
tree0ecd316fd81d23759a1a7f09b9c1efc3ffd7bae5
parentb35334aa98b75e4e166d30d673fd3bf1238dc7b7 (diff)
downloadgdb-3f2cf4dcd578d60fcdbbc28e720badffe8c15661.zip
gdb-3f2cf4dcd578d60fcdbbc28e720badffe8c15661.tar.gz
gdb-3f2cf4dcd578d60fcdbbc28e720badffe8c15661.tar.bz2
Remove some leftovers from complaints
There were a couple of leftovers from earlier patches in complaints.[ch]. This removes them. gdb/ChangeLog 2018-10-04 Tom Tromey <tom@tromey.com> * complaints.h (struct complaints): Remove declaration. * complaints.c (clear_complaints): Remove an unused variable.
-rw-r--r--gdb/ChangeLog5
-rw-r--r--gdb/complaints.h4
2 files changed, 5 insertions, 4 deletions
diff --git a/gdb/ChangeLog b/gdb/ChangeLog
index 0d4b78d..5ee22e6 100644
--- a/gdb/ChangeLog
+++ b/gdb/ChangeLog
@@ -1,3 +1,8 @@
+2018-10-04 Tom Tromey <tom@tromey.com>
+
+ * complaints.h (struct complaints): Remove declaration.
+ * complaints.c (clear_complaints): Remove an unused variable.
+
2018-10-04 Rainer Orth <ro@CeBiTec.Uni-Bielefeld.DE>
* MAINTAINERS (Write After Approval): Add self.
diff --git a/gdb/complaints.h b/gdb/complaints.h
index 90f5806..243eaed 100644
--- a/gdb/complaints.h
+++ b/gdb/complaints.h
@@ -21,10 +21,6 @@
#if !defined (COMPLAINTS_H)
#define COMPLAINTS_H
-/* Opaque object used to track the number of complaints of a
- particular category. */
-struct complaints;
-
/* Helper for complaint. */
extern void complaint_internal (const char *fmt, ...)
ATTRIBUTE_PRINTF (1, 2);