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.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/misc/time/asctime.c b/libc/misc/time/asctime.c
index 08673cbcc..bfb1a13fc 100644
--- a/libc/misc/time/asctime.c
+++ b/libc/misc/time/asctime.c
@@ -3,13 +3,13 @@
extern void __asctime();
-char *
-asctime(timeptr)
-__const struct tm * timeptr;
+char *asctime(timeptr)
+__const struct tm *timeptr;
{
- static char timebuf[26];
+ static char timebuf[26];
- if( timeptr == 0 ) return 0;
- __asctime(timebuf, timeptr);
- return timebuf;
+ if (timeptr == 0)
+ return 0;
+ __asctime(timebuf, timeptr);
+ return timebuf;
}