summaryrefslogtreecommitdiff
path: root/src/xterm.h
diff options
context:
space:
mode:
authorPaul Eggert <eggert@cs.ucla.edu>2011-08-29 13:04:46 -0700
committerPaul Eggert <eggert@cs.ucla.edu>2011-08-29 13:04:46 -0700
commitc43c8a6af9f6877b97c1f9a88e361456775cb88b (patch)
treea3bb393a41c3cb906b5c363d1dc440bd8b271fa1 /src/xterm.h
parentae58ff1fbc37d8ace14dae8cc15859add5edac7f (diff)
downloademacs-c43c8a6af9f6877b97c1f9a88e361456775cb88b.tar.gz
* xterm.h (x_check_errors): Add ATTRIBUTE_FORMAT_PRINTF.
Diffstat (limited to 'src/xterm.h')
-rw-r--r--src/xterm.h3
1 files changed, 2 insertions, 1 deletions
diff --git a/src/xterm.h b/src/xterm.h
index 30867656710..fe86a32d09f 100644
--- a/src/xterm.h
+++ b/src/xterm.h
@@ -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_bitmap_icon (struct frame *, Lisp_Object);
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_catching_errors (void);
extern void x_uncatch_errors (void);