summaryrefslogtreecommitdiff
path: root/dsimple.h
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-06-03 23:56:08 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-06-03 23:56:08 -0700
commitd41d834d8b2be86eb56802de12c2399c7ff0919f (patch)
treecac177bbd9a7ce8eb4caae7b678f4fa2a982fa20 /dsimple.h
parentd5417f2eb09e7061801f63ce77e3441d80e5e4a1 (diff)
Print which option was in error along with usage message
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'dsimple.h')
-rw-r--r--dsimple.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/dsimple.h b/dsimple.h
index 9529605..6699e76 100644
--- a/dsimple.h
+++ b/dsimple.h
@@ -54,7 +54,7 @@ void Setup_Display_And_Screen (const char *displayname,
xcb_window_t Select_Window (xcb_connection_t *, const xcb_screen_t *, int);
xcb_window_t Window_With_Name (xcb_connection_t *, xcb_window_t, const char *);
-void Fatal_Error (const char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1, 2);
+void Fatal_Error (const char *, ...) _X_NORETURN _X_ATTRIBUTE_PRINTF(1, 2) _X_COLD;
void Print_X_Error (xcb_connection_t *, xcb_generic_error_t *);