From 40e2986d3d196855bba3836a60a482fd3a0f73a8 Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Wed, 31 Jan 2024 17:07:29 -0500 Subject: remove posix and xopen specific functions --- src/stdlib/a64l.c | 23 ----------------------- 1 file changed, 23 deletions(-) delete mode 100644 src/stdlib/a64l.c (limited to 'src/stdlib/a64l.c') 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 -#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) -*/ -- cgit v1.2.1