Remove some leftovers from complaints
authorTom Tromey <tom@tromey.com>
Mon, 28 May 2018 03:26:11 +0000 (21:26 -0600)
committerTom Tromey <tom@tromey.com>
Thu, 4 Oct 2018 19:40:10 +0000 (13:40 -0600)
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.

gdb/ChangeLog
gdb/complaints.h

index 0d4b78d..5ee22e6 100644 (file)
@@ -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.
index 90f5806..243eaed 100644 (file)
 #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);