diff options
author | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-19 23:38:46 -0700 |
---|---|---|
committer | Alan Coopersmith <alan.coopersmith@oracle.com> | 2013-07-19 23:39:00 -0700 |
commit | 94731abadcd06995c28f140aaffde456a7750807 (patch) | |
tree | 055efa8bab8330d62399a523cc86b68d9a6d8bb6 /dsimple.h | |
parent | 9c9ae7363d216933394e6ccd2ba6e0196845a6c6 (diff) |
Add printf attributes as suggested by gcc -Wmissing-format-attribute
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'dsimple.h')
-rw-r--r-- | dsimple.h | 4 |
1 files changed, 2 insertions, 2 deletions
@@ -76,5 +76,5 @@ void usage(void) _X_NORETURN; Window Select_Window(Display *, int); Window Window_With_Name(Display *, Window, const char *); -void Fatal_Error(const char *, ...) _X_NORETURN; -void outl(const char *, ...); +void Fatal_Error(const char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1, 2); +void outl(const char *, ...) _X_ATTRIBUTE_PRINTF(1, 2); |