Remove "noisy" parameter from clear_complaints

After the previous patch, the "noisy" parameter to clear_complaints is
no longer used, so this patch removes it.

gdb/ChangeLog
2018-05-23  Tom Tromey  <tom@tromey.com>

	* complaints.c (clear_complaints): Remove "noisy" parameter.
	* complaints.h (clear_complaints): Update.
	* symfile.c (syms_from_objfile_1, finish_new_objfile)
	(reread_symbols): Update.

gdb/testsuite/ChangeLog
2018-05-23  Tom Tromey  <tom@tromey.com>

	* gdb.gdb/complaints.exp (test_empty_complaints): Update.
This commit is contained in:
Tom Tromey
2018-05-16 22:27:50 -06:00
parent 43ba33c768
commit 4e9668d0d1
6 changed files with 23 additions and 18 deletions

View File

@ -56,7 +56,7 @@ extern void complaint_internal (struct complaints **complaints,
enough context for the user to figure it out. */
extern void clear_complaints (struct complaints **complaints,
int less_verbose, int noisy);
int less_verbose);
#endif /* !defined (COMPLAINTS_H) */