summaryrefslogtreecommitdiffstats
path: root/lib/libc
diff options
context:
space:
mode:
authorderaadt <deraadt@openbsd.org>1997-04-18 20:34:26 +0000
committerderaadt <deraadt@openbsd.org>1997-04-18 20:34:26 +0000
commitedd9e6fec8cd7d78620c54343d643d4460040fb3 (patch)
tree19bb5142d7fcca08af8cd446087968b084a07061 /lib/libc
parentUse the new genassym.cf method of generating the assym.h file. (diff)
downloadwireguard-openbsd-edd9e6fec8cd7d78620c54343d643d4460040fb3.tar.xz
wireguard-openbsd-edd9e6fec8cd7d78620c54343d643d4460040fb3.zip
move #includes to top; is
Diffstat (limited to 'lib/libc')
-rw-r--r--lib/libc/time/ctime.39
1 files changed, 4 insertions, 5 deletions
diff --git a/lib/libc/time/ctime.3 b/lib/libc/time/ctime.3
index 81c6c595cd4..9f28e8f5768 100644
--- a/lib/libc/time/ctime.3
+++ b/lib/libc/time/ctime.3
@@ -1,15 +1,16 @@
-.\" $OpenBSD: ctime.3,v 1.6 1997/01/14 03:16:43 millert Exp $
+.\" $OpenBSD: ctime.3,v 1.7 1997/04/18 20:34:26 deraadt Exp $
.TH CTIME 3
.SH NAME
asctime, ctime, difftime, gmtime, localtime, mktime \- convert date and time to ASCII
.SH SYNOPSIS
.nf
+.B #include <sys/types.h>
+.B #include <time.h>
+.PP
.B extern char *tzname[2];
.PP
.B void tzset()
.PP
-.B #include <sys/types.h>
-.PP
.B char *ctime(clock)
.B const time_t *clock;
.PP
@@ -17,8 +18,6 @@ asctime, ctime, difftime, gmtime, localtime, mktime \- convert date and time to
.B time_t time1;
.B time_t time0;
.PP
-.B #include <time.h>
-.PP
.B char *asctime(tm)
.B const struct tm *tm;
.PP