summaryrefslogtreecommitdiff
path: root/src/xi/xi2path.c
diff options
context:
space:
mode:
authorJari Vetoniemi <mailroxas@gmail.com>2017-04-20 16:49:35 +0300
committerJari Vetoniemi <mailroxas@gmail.com>2017-05-01 22:58:22 +0300
commit29086b1d12a2c28cffdbfbf0b3990a7bd75506b9 (patch)
tree8acd48bc30932812744c0adb102d7a7add494357 /src/xi/xi2path.c
parent76b8c9e03c97b16d9ff97f3b79c0ecbff0f5e7f2 (diff)
work in progress
Diffstat (limited to 'src/xi/xi2path.c')
-rw-r--r--src/xi/xi2path.c16
1 files changed, 0 insertions, 16 deletions
diff --git a/src/xi/xi2path.c b/src/xi/xi2path.c
deleted file mode 100644
index bd9c702..0000000
--- a/src/xi/xi2path.c
+++ /dev/null
@@ -1,16 +0,0 @@
-#include <stdlib.h>
-#include <err.h>
-
-#include "xi2path.h"
-
-int
-main(int argc, char *argv[])
-{
- if (argc < 2)
- errx(EXIT_FAILURE, "usage: %s id\n", argv[0]);
-
- char path[12];
- xi2path(path, strtol(argv[1], NULL, 10));
- printf("%s\n", path);
- return EXIT_SUCCESS;
-}