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.h | |
parent | 81e25b7c91efcc3ff54605b11859375a5c885c8b (diff) | |
download | gdb-2b9496b2b4781b21bc30a70337e24205f8a923d8.zip gdb-2b9496b2b4781b21bc30a70337e24205f8a923d8.tar.gz gdb-2b9496b2b4781b21bc30a70337e24205f8a923d8.tar.bz2 |
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.h')
-rw-r--r-- | gdb/complaints.h | 5 |
1 files changed, 0 insertions, 5 deletions
diff --git a/gdb/complaints.h b/gdb/complaints.h index 3c1b3c5..37648fb 100644 --- a/gdb/complaints.h +++ b/gdb/complaints.h @@ -47,11 +47,6 @@ extern void complaint_internal (struct complaints **complaints, } \ while (0) -extern void internal_complaint (struct complaints **complaints, - const char *file, int line, - const char *fmt, - ...) ATTRIBUTE_PRINTF (4, 5); - /* 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 |