summaryrefslogtreecommitdiff
path: root/libc/misc/time/asctime_r.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2000-10-09 20:06:30 +0000
committerEric Andersen <andersen@codepoet.org>2000-10-09 20:06:30 +0000
commitc1fe19d4c1db610692365472a90f4661e48449c1 (patch)
treed0b0219ffca3c4c4256f55c4aea4513e43d6aecd /libc/misc/time/asctime_r.c
parent9efafb8bbc7408b04643dcd53825d971577b4d9d (diff)
Bug ugly formatting update
Diffstat (limited to 'libc/misc/time/asctime_r.c')
-rw-r--r--libc/misc/time/asctime_r.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/misc/time/asctime_r.c b/libc/misc/time/asctime_r.c
index ff2b6bfb3..823ab4f4d 100644
--- a/libc/misc/time/asctime_r.c
+++ b/libc/misc/time/asctime_r.c
@@ -3,13 +3,13 @@
extern void __asctime();
-char *
-asctime_r(timeptr, buf)
-__const struct tm * timeptr;
-char * buf;
+char *asctime_r(timeptr, buf)
+__const struct tm *timeptr;
+char *buf;
{
- if( timeptr == 0 ) return 0;
- __asctime(buf, timeptr);
- return buf;
+ if (timeptr == 0)
+ return 0;
+ __asctime(buf, timeptr);
+ return buf;
}