From d6b2a407783dbbd6c9680601da005de0bb0ff37d Mon Sep 17 00:00:00 2001 From: Manuel Novoa III Date: Mon, 17 Jun 2002 09:45:15 +0000 Subject: Commit the new time stuff, even though I haven't made it threadsafe yet. At least people can play with it. Also, fix a buglet in setenv.c. --- libc/misc/time/asctime_r.c | 16 ---------------- 1 file changed, 16 deletions(-) delete mode 100644 libc/misc/time/asctime_r.c (limited to 'libc/misc/time/asctime_r.c') diff --git a/libc/misc/time/asctime_r.c b/libc/misc/time/asctime_r.c deleted file mode 100644 index 215031949..000000000 --- a/libc/misc/time/asctime_r.c +++ /dev/null @@ -1,16 +0,0 @@ - -#include -#include - -extern void __asctime(); - -char *asctime_r(__const struct tm *timeptr, char *buf) -{ - if (timeptr == NULL || buf == NULL) { - __set_errno (EINVAL); - return NULL; - } - __asctime(buf, timeptr); - return buf; -} - -- cgit v1.2.3