summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-18 20:34:27 +0000
committerTheo de Raadt <deraadt@cvs.openbsd.org>1997-04-18 20:34:27 +0000
commit035548579bd859126e25dd8f47c84374e5f062b5 (patch)
tree15c60d979c357485608c6969e4ecbb65473e4d56 /lib
parentf688a2dce21a258b7e8fa745c531f99a49abd940 (diff)
move #includes to top; is
Diffstat (limited to 'lib')
-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