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.c | 18 ------------------ 1 file changed, 18 deletions(-) delete mode 100644 libc/misc/time/asctime.c (limited to 'libc/misc/time/asctime.c') diff --git a/libc/misc/time/asctime.c b/libc/misc/time/asctime.c deleted file mode 100644 index 9d5772335..000000000 --- a/libc/misc/time/asctime.c +++ /dev/null @@ -1,18 +0,0 @@ - -#include -#include - -extern void __asctime(); - - -char * asctime (__const struct tm *timeptr) -{ - static char __time_buf[26]; - if (timeptr == NULL) { - __set_errno (EINVAL); - return NULL; - } - __asctime(__time_buf, timeptr); - return __time_buf; -} - -- cgit v1.2.3