test/rmlvo-to-keymap: drop basename usage
authorRan Benita <ran234@gmail.com>
Thu, 25 Jul 2019 08:59:07 +0000 (11:59 +0300)
committerRan Benita <ran234@gmail.com>
Thu, 25 Jul 2019 09:00:27 +0000 (12:00 +0300)
It wants some libgen.h include which is POSIX only, let's just remove
it as it's hardly important.

Signed-off-by: Ran Benita <ran234@gmail.com>
test/rmlvo-to-keymap.c

index 89f71a02498535fd811a5e4c9bb402068bdae150..c7b5dbdd9a988db75ef61bb51d38310fa28406ef 100644 (file)
@@ -37,7 +37,7 @@ static void
 usage(char **argv)
 {
     printf("Usage: %s [--print] [--rules <rules>] [--layout <layout>] [--variant <variant>] [--options <option>]\n",
-           basename(argv[0]));
+           argv[0]);
     printf("This tool tests the compilation from RMLVO to a keymap.\n");
     printf("--print  print the resulting keymap\n");
 }