Commit c43c8a6a authored by Paul Eggert's avatar Paul Eggert
Browse files

* xterm.h (x_check_errors): Add ATTRIBUTE_FORMAT_PRINTF.

parent ae58ff1f
...@@ -99,6 +99,8 @@ ...@@ -99,6 +99,8 @@
* xterm.c (x_io_error_quitter): Don't overrun sprintf buffer. * xterm.c (x_io_error_quitter): Don't overrun sprintf buffer.
* xterm.h (x_check_errors): Add ATTRIBUTE_FORMAT_PRINTF.
2011-08-26 Paul Eggert <eggert@cs.ucla.edu> 2011-08-26 Paul Eggert <eggert@cs.ucla.edu>
Integer and memory overflow issues (Bug#9196). Integer and memory overflow issues (Bug#9196).
......
...@@ -955,7 +955,8 @@ XrmDatabase x_load_resources (Display *, const char *, const char *, ...@@ -955,7 +955,8 @@ XrmDatabase x_load_resources (Display *, const char *, const char *,
extern int x_text_icon (struct frame *, const char *); extern int x_text_icon (struct frame *, const char *);
extern int x_bitmap_icon (struct frame *, Lisp_Object); extern int x_bitmap_icon (struct frame *, Lisp_Object);
extern void x_catch_errors (Display *); extern void x_catch_errors (Display *);
extern void x_check_errors (Display *, const char *); extern void x_check_errors (Display *, const char *)
ATTRIBUTE_FORMAT_PRINTF (2, 0);
extern int x_had_errors_p (Display *); extern int x_had_errors_p (Display *);
extern int x_catching_errors (void); extern int x_catching_errors (void);
extern void x_uncatch_errors (void); extern void x_uncatch_errors (void);
......
Markdown is supported
0% or .
You are about to add 0 people to the discussion. Proceed with caution.
Finish editing this message first!
Please register or to comment