summaryrefslogtreecommitdiff
path: root/xmodmap.c
diff options
context:
space:
mode:
authorJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:22:43 -0800
committerJeremy Huddleston <jeremyhu@apple.com>2011-11-11 11:23:43 -0800
commit8751095511c7d9065ab12a40e90e38bdd9d728e4 (patch)
tree7f8c410f86523a564cba8f5dc00871c5830736fd /xmodmap.c
parentc71811ebe193cecc4add4c2d9cec751fc721343b (diff)
Add missing _X_NORETURN to functions that need it
Signed-off-by: Jeremy Huddleston <jeremyhu@apple.com>
Diffstat (limited to 'xmodmap.c')
-rw-r--r--xmodmap.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/xmodmap.c b/xmodmap.c
index 4486a4a..3d20e94 100644
--- a/xmodmap.c
+++ b/xmodmap.c
@@ -40,6 +40,7 @@ Bool verbose = False;
Bool dontExecute = False;
static void
+_X_NORETURN
Exit(int status)
{
if (dpy) {
@@ -76,6 +77,7 @@ static const char help_message[] =
static void
+_X_NORETURN
usage(void)
{
fprintf (stderr, "usage: %s [-options ...] [filename]\n", ProgramName);
@@ -105,6 +107,7 @@ static const char grammar_message[] =
static void
+_X_NORETURN
grammar_usage(void)
{
fprintf (stderr, "%s accepts the following input expressions:\n\n",