summaryrefslogtreecommitdiff
path: root/xgamma.c
diff options
context:
space:
mode:
authorAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-24 10:06:37 -0700
committerAlan Coopersmith <alan.coopersmith@oracle.com>2014-05-24 10:06:37 -0700
commit3d05b29e9e1431f11cb2c2cb960380586c6ba494 (patch)
tree6de4c7ef68976f0721b5d2273b3bb7b596cb4181 /xgamma.c
parentd99cd9262291137a9e742166fdfedfeb74f08e57 (diff)
Add noreturn attribute to Syntax function
Suggested by clang: xgamma.c:48:1: warning: function 'Syntax' could be declared with attribute 'noreturn' [-Wmissing-noreturn] { Signed-off-by: Alan Coopersmith <alan.coopersmith@oracle.com>
Diffstat (limited to 'xgamma.c')
-rw-r--r--xgamma.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/xgamma.c b/xgamma.c
index a9d2c3f..6db07ef 100644
--- a/xgamma.c
+++ b/xgamma.c
@@ -43,7 +43,7 @@ static int EventBase, ErrorBase;
#define GAMMA_MIN 0.1
#define GAMMA_MAX 10.0
-static void
+static void _X_NORETURN
Syntax(void)
{
fprintf (stderr, "usage: %s [-options]\n\n",