This is the mail archive of the
gdb-patches@sourceware.org
mailing list for the GDB project.
[PATCH 1/7] Remove some leftovers from complaints
- From: Tom Tromey <tom at tromey dot com>
- To: gdb-patches at sourceware dot org
- Cc: Tom Tromey <tom at tromey dot com>
- Date: Sun, 23 Sep 2018 09:09:51 -0600
- Subject: [PATCH 1/7] Remove some leftovers from complaints
- References: <20180923150957.5798-1-tom@tromey.com>
There were a couple of leftovers from earlier patches in
complaints.[ch]. This removes them.
gdb/ChangeLog
2018-09-23 Tom Tromey <tom@tromey.com>
* complaints.h (struct complaints): Remove declaration.
* complaints.c (clear_complaints): Remove an unused variable.
---
gdb/ChangeLog | 5 +++++
gdb/complaints.h | 4 ----
2 files changed, 5 insertions(+), 4 deletions(-)
diff --git a/gdb/complaints.h b/gdb/complaints.h
index 90f58061eb..243eaed93c 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);
--
2.17.1