summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorRan Benita <ran234@gmail.com>2014-07-27 16:36:11 +0300
committerRan Benita <ran234@gmail.com>2014-07-27 16:36:11 +0300
commit5058620c88ff55c5402ad6888c9129f5ff1ff752 (patch)
tree7faec9a505965953449fae200816bc48b5ed4197
parent40f109af56493605410f2bea891779fbbfa3fda9 (diff)
downloadlibxkbcommon-5058620c88ff55c5402ad6888c9129f5ff1ff752.tar.gz
libxkbcommon-5058620c88ff55c5402ad6888c9129f5ff1ff752.tar.bz2
libxkbcommon-5058620c88ff55c5402ad6888c9129f5ff1ff752.zip
interactive-evdev: don't use sysexits.h
Signed-off-by: Ran Benita <ran234@gmail.com>
-rw-r--r--test/interactive-evdev.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/test/interactive-evdev.c b/test/interactive-evdev.c
index e0fb470..c3c4965 100644
--- a/test/interactive-evdev.c
+++ b/test/interactive-evdev.c
@@ -29,7 +29,6 @@
#include <locale.h>
#include <signal.h>
#include <string.h>
-#include <sysexits.h>
#include <unistd.h>
#include <sys/epoll.h>
@@ -389,7 +388,7 @@ main(int argc, char *argv[])
argv[0]);
fprintf(stderr, "For both: -n <evdev keycode offset>\n"
" -c (to report changes to the state)\n");
- exit(EX_USAGE);
+ exit(2);
}
}