summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-20 12:56:43 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-20 12:56:43 -0800
commit7dba9bf178878e09aaad09be9ed9bdccb60c08b9 (patch)
treebee5c8a24522c79f73a915eec8e3e52ee2f182e6
parentdb9c65f2b12b25a56f4e364ec6dd2dac0412413d (diff)
Mark FatalError() as taking printf-style arguments
Silences -Wformat-nonliteral warnings about passing through unknown format arguments to vfprintf. Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
-rw-r--r--dsimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsimple.h b/dsimple.h
index ae77a30..eb77c7e 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -80,4 +80,4 @@ void usage(void);
Window Select_Window(Display *, int descend);
Window Window_With_Name(Display *, Window, const char *);
-void Fatal_Error(char *, ...) _X_NORETURN;
+void Fatal_Error(char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1,2);