diff options
author | Tom Tromey <tom@tromey.com> | 2018-05-16 15:09:32 -0600 |
---|---|---|
committer | Tom Tromey <tom@tromey.com> | 2018-05-23 09:16:59 -0600 |
commit | 2b9496b2b4781b21bc30a70337e24205f8a923d8 (patch) | |
tree | 26f8f54cdbeab2373cdcb51775044fd392752cca /gdb/complaints.c | |
parent | 81e25b7c91efcc3ff54605b11859375a5c885c8b (diff) | |
download | binutils-gdb-2b9496b2b4781b21bc30a70337e24205f8a923d8.tar.gz |
Remove internal_complaint
I happened to notice that gdb has both complaint_internal and
internal_complaint. The latter is unused, so this patch removes it.
gdb/ChangeLog
2018-05-23 Tom Tromey <tom@tromey.com>
* complaints.c (internal_complaint): Remove.
* complaints.h (internal_complaint): Remove.
Diffstat (limited to 'gdb/complaints.c')
-rw-r--r-- | gdb/complaints.c | 10 |
1 files changed, 0 insertions, 10 deletions
diff --git a/gdb/complaints.c b/gdb/complaints.c index 44e98f8dadd..9e5df396eb2 100644 --- a/gdb/complaints.c +++ b/gdb/complaints.c @@ -245,16 +245,6 @@ complaint_internal (struct complaints **complaints, const char *fmt, ...) va_end (args); } -void -internal_complaint (struct complaints **complaints, const char *file, - int line, const char *fmt, ...) -{ - va_list args; - va_start (args, fmt); - vcomplaint (complaints, file, line, fmt, 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 |