summaryrefslogtreecommitdiff
path: root/src/stdlib/a64l.c
diff options
context:
space:
mode:
authorJakob Kaivo <jkk@ung.org>2024-01-31 17:07:29 -0500
committerJakob Kaivo <jkk@ung.org>2024-01-31 17:07:29 -0500
commit40e2986d3d196855bba3836a60a482fd3a0f73a8 (patch)
tree6ce03ea7ddffb7f0001bff12706b21f9bce3c67e /src/stdlib/a64l.c
parent421cc9cd7295e5b92cf167a41bd8f55a3b842728 (diff)
remove posix and xopen specific functions
Diffstat (limited to 'src/stdlib/a64l.c')
-rw-r--r--src/stdlib/a64l.c23
1 files changed, 0 insertions, 23 deletions
diff --git a/src/stdlib/a64l.c b/src/stdlib/a64l.c
deleted file mode 100644
index 287e76f8..00000000
--- a/src/stdlib/a64l.c
+++ /dev/null
@@ -1,23 +0,0 @@
-#include <stdlib.h>
-#include "_stdlib.h"
-
-long a64l(const char *s)
-{
- SIGNAL_SAFE(0);
- long l = 0;
- int i = 0;
- int n = 0;
- int base = 1;
- while (i < 6) {
- /*n = indexof ((char*)radix64, s[i]); */
- if (n == -1)
- return l;
- l += n * base;
- base *= 64;
- }
- return l;
-}
-
-/*
-XOPEN(400)
-*/