summaryrefslogtreecommitdiff
path: root/tools
diff options
context:
space:
mode:
Diffstat (limited to 'tools')
-rw-r--r--tools/xkbcli.c4
1 files changed, 0 insertions, 4 deletions
diff --git a/tools/xkbcli.c b/tools/xkbcli.c
index fe6b6b5..78a9aa5 100644
--- a/tools/xkbcli.c
+++ b/tools/xkbcli.c
@@ -82,7 +82,6 @@ main(int argc, char **argv)
while (1) {
int c;
-#if HAVE_GETOPT_LONG
static struct option opts[] = {
{ "help", no_argument, 0, OPT_HELP },
{ "version", no_argument, 0, OPT_VERSION },
@@ -90,9 +89,6 @@ main(int argc, char **argv)
};
c = getopt_long(argc, argv, "+hV", opts, &option_index);
-#else
- c = getopt(argc, argv, "+hV");
-#endif
if (c == -1)
break;