summaryrefslogtreecommitdiff
path: root/libc/misc/time/asctime.c
diff options
context:
space:
mode:
Diffstat (limited to 'libc/misc/time/asctime.c')
-rw-r--r--libc/misc/time/asctime.c18
1 files changed, 0 insertions, 18 deletions
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 <time.h>
-#include <errno.h>
-
-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;
-}
-