diff options
Diffstat (limited to 'gdb/complaints.h')
-rw-r--r-- | gdb/complaints.h | 6 |
1 files changed, 4 insertions, 2 deletions
diff --git a/gdb/complaints.h b/gdb/complaints.h index 4ff8d9bd875..356de4984cd 100644 --- a/gdb/complaints.h +++ b/gdb/complaints.h @@ -30,10 +30,12 @@ struct complaints; extern struct complaints *symfile_complaints; /* Register a complaint. */ -extern void complaint (struct complaints **complaints, const char *fmt, +extern void complaint (struct complaints **complaints, + const char *fmt, ...) ATTRIBUTE_PRINTF (2, 3); extern void internal_complaint (struct complaints **complaints, - const char *file, int line, const char *fmt, + const char *file, int line, + const char *fmt, ...) ATTRIBUTE_PRINTF (4, 5); /* Clear out / initialize all complaint counters that have ever been |