diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-20 12:56:43 -0800 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-01-20 12:56:43 -0800 |
commit | 7dba9bf178878e09aaad09be9ed9bdccb60c08b9 (patch) | |
tree | bee5c8a24522c79f73a915eec8e3e52ee2f182e6 /dsimple.h | |
parent | db9c65f2b12b25a56f4e364ec6dd2dac0412413d (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>
Diffstat (limited to 'dsimple.h')
-rw-r--r-- | dsimple.h | 2 |
1 files changed, 1 insertions, 1 deletions
@@ -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); |