aboutsummaryrefslogtreecommitdiffstats
path: root/src
diff options
context:
space:
mode:
authorPaul Eggert2011-04-05 13:11:37 -0700
committerPaul Eggert2011-04-05 13:11:37 -0700
commitf9541e84ba364a24f866331d69f423e0bf228057 (patch)
treed85a0001b719720426e9530a6b1d75b2fac23279 /src
parent13841b558c0d4515387b93bcb7fe0fadf0e68579 (diff)
downloademacs-f9541e84ba364a24f866331d69f423e0bf228057.tar.gz
emacs-f9541e84ba364a24f866331d69f423e0bf228057.zip
* xdisp.c (vmessage): Mark as a printf-like function.
Diffstat (limited to 'src')
-rw-r--r--src/ChangeLog2
-rw-r--r--src/xdisp.c1
2 files changed, 3 insertions, 0 deletions
diff --git a/src/ChangeLog b/src/ChangeLog
index 6bb7a6ff143..7e12a6c9854 100644
--- a/src/ChangeLog
+++ b/src/ChangeLog
@@ -2,6 +2,8 @@
2 2
3 Fix more problems found by GCC 4.6.0's static checks. 3 Fix more problems found by GCC 4.6.0's static checks.
4 4
5 * xdisp.c (vmessage): Mark as a printf-like function.
6
5 * term.c (vfatal, maybe_fatal): Mark as printf-like functions. 7 * term.c (vfatal, maybe_fatal): Mark as printf-like functions.
6 8
7 * sound.c (sound_warning): Don't crash if arg contains a printf format. 9 * sound.c (sound_warning): Don't crash if arg contains a printf format.
diff --git a/src/xdisp.c b/src/xdisp.c
index e6a7f4254ef..fbdd553aa51 100644
--- a/src/xdisp.c
+++ b/src/xdisp.c
@@ -774,6 +774,7 @@ static int store_mode_line_noprop (const char *, int, int);
774static void handle_stop (struct it *); 774static void handle_stop (struct it *);
775static void handle_stop_backwards (struct it *, EMACS_INT); 775static void handle_stop_backwards (struct it *, EMACS_INT);
776static int single_display_spec_intangible_p (Lisp_Object); 776static int single_display_spec_intangible_p (Lisp_Object);
777static void vmessage (const char *, va_list) ATTRIBUTE_FORMAT_PRINTF (1, 0);
777static void ensure_echo_area_buffers (void); 778static void ensure_echo_area_buffers (void);
778static Lisp_Object unwind_with_echo_area_buffer (Lisp_Object); 779static Lisp_Object unwind_with_echo_area_buffer (Lisp_Object);
779static Lisp_Object with_echo_area_buffer_unwind_data (struct window *); 780static Lisp_Object with_echo_area_buffer_unwind_data (struct window *);