summaryrefslogtreecommitdiff
path: root/xvinfo.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-13 14:29:28 -0800
committerAlan Coopersmith <alan.coopersmith@oracle.com>2013-01-13 14:29:28 -0800
commit68e388a32b1be09b73eee18c8720efd1c08fdfe8 (patch)
tree4e7b7e7d7ab1029dd3489168e2ee61d98cbf8057 /xvinfo.c
parent34828bc984579fd77136d5d0a559d1a887bac420 (diff)
Add _X_NORETURN to PrintUsage to clear gcc/clang warnings
Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xvinfo.c')
-rw-r--r--xvinfo.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xvinfo.c b/xvinfo.c
index 5d15364..9e27a58 100644
--- a/xvinfo.c
+++ b/xvinfo.c
@@ -6,7 +6,7 @@
#include <string.h>
#include <ctype.h>
-static void
+static void _X_NORETURN
PrintUsage(void)
{
fprintf(stderr, "Usage: xvinfo [-display host:dpy] [-short]\n");