1
0
mirror of https://git.savannah.gnu.org/git/emacs.git synced 2025-01-04 11:40:22 +00:00

* xdisp.c (vmessage): Mark as a printf-like function.

This commit is contained in:
Paul Eggert 2011-04-05 13:11:37 -07:00
parent 13841b558c
commit f9541e84ba
2 changed files with 3 additions and 0 deletions

View File

@ -2,6 +2,8 @@
Fix more problems found by GCC 4.6.0's static checks.
* xdisp.c (vmessage): Mark as a printf-like function.
* term.c (vfatal, maybe_fatal): Mark as printf-like functions.
* sound.c (sound_warning): Don't crash if arg contains a printf format.

View File

@ -774,6 +774,7 @@ static int store_mode_line_noprop (const char *, int, int);
static void handle_stop (struct it *);
static void handle_stop_backwards (struct it *, EMACS_INT);
static int single_display_spec_intangible_p (Lisp_Object);
static void vmessage (const char *, va_list) ATTRIBUTE_FORMAT_PRINTF (1, 0);
static void ensure_echo_area_buffers (void);
static Lisp_Object unwind_with_echo_area_buffer (Lisp_Object);
static Lisp_Object with_echo_area_buffer_unwind_data (struct window *);