summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorArnaud Fontaine <arnau@debian.org>2012-06-05 14:27:02 +0900
committerArnaud Fontaine <arnau@debian.org>2012-06-05 14:50:46 +0900
commitef2753866bf0b51a38484ae5a86562d5057fabab (patch)
treefae8a6f374f044f21e8b78112710252b1553fe8a
parentbd4ca2af9f39e3282e319e6d31450e04b1b16e64 (diff)
Add _X_ATTRIBUTE_PRINTF attribute to Fatal_Error() to clear GCC warning.
-rw-r--r--dsimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsimple.h b/dsimple.h
index e8718b5..0353150 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -64,4 +64,4 @@ Window Select_Window (Display *);
Window Get_Window_Under_Cursor (Display *); /*added by Daniel Forchheimer for transset-df*/
Window Window_With_Name (Display *, Window, char *);
Window Window_With_Name_Regex (Display *, Window, char *); /*added by Daniel Forchheimer for transset-df*/
-void Fatal_Error (char *, ...) _X_NORETURN;
+void Fatal_Error (char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1,2);