diff options
| author | Paul Eggert | 2011-04-05 13:11:37 -0700 |
|---|---|---|
| committer | Paul Eggert | 2011-04-05 13:11:37 -0700 |
| commit | f9541e84ba364a24f866331d69f423e0bf228057 (patch) | |
| tree | d85a0001b719720426e9530a6b1d75b2fac23279 /src | |
| parent | 13841b558c0d4515387b93bcb7fe0fadf0e68579 (diff) | |
| download | emacs-f9541e84ba364a24f866331d69f423e0bf228057.tar.gz emacs-f9541e84ba364a24f866331d69f423e0bf228057.zip | |
* xdisp.c (vmessage): Mark as a printf-like function.
Diffstat (limited to 'src')
| -rw-r--r-- | src/ChangeLog | 2 | ||||
| -rw-r--r-- | src/xdisp.c | 1 |
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); | |||
| 774 | static void handle_stop (struct it *); | 774 | static void handle_stop (struct it *); |
| 775 | static void handle_stop_backwards (struct it *, EMACS_INT); | 775 | static void handle_stop_backwards (struct it *, EMACS_INT); |
| 776 | static int single_display_spec_intangible_p (Lisp_Object); | 776 | static int single_display_spec_intangible_p (Lisp_Object); |
| 777 | static void vmessage (const char *, va_list) ATTRIBUTE_FORMAT_PRINTF (1, 0); | ||
| 777 | static void ensure_echo_area_buffers (void); | 778 | static void ensure_echo_area_buffers (void); |
| 778 | static Lisp_Object unwind_with_echo_area_buffer (Lisp_Object); | 779 | static Lisp_Object unwind_with_echo_area_buffer (Lisp_Object); |
| 779 | static Lisp_Object with_echo_area_buffer_unwind_data (struct window *); | 780 | static Lisp_Object with_echo_area_buffer_unwind_data (struct window *); |