1
Fork 0
mirror of git://git.sv.gnu.org/emacs.git synced 2026-01-08 20:50:52 -08:00

* term.c (maybe_fatal): Mark its 3rd arg as a printf format, too.

This commit is contained in:
Paul Eggert 2011-04-06 15:27:58 -07:00
parent 79c49ad253
commit 266c954700
2 changed files with 3 additions and 1 deletions

View file

@ -1,5 +1,7 @@
2011-04-06 Paul Eggert <eggert@cs.ucla.edu>
* term.c (maybe_fatal): Mark its 3rd arg as a printf format, too.
* xdisp.c, lisp.h (message_nolog): Remove; unused.
2011-04-06 Eli Zaretskii <eliz@gnu.org>

View file

@ -86,7 +86,7 @@ static void dissociate_if_controlling_tty (int fd);
static void delete_tty (struct terminal *);
static void maybe_fatal (int must_succeed, struct terminal *terminal,
const char *str1, const char *str2, ...)
NO_RETURN ATTRIBUTE_FORMAT_PRINTF (4, 5);
NO_RETURN ATTRIBUTE_FORMAT_PRINTF (3, 5) ATTRIBUTE_FORMAT_PRINTF (4, 5);
static void vfatal (const char *str, va_list ap)
NO_RETURN ATTRIBUTE_FORMAT_PRINTF (1, 0);