aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorBruce Evans <bde@FreeBSD.org>1996-04-19 19:00:26 +0000
committerBruce Evans <bde@FreeBSD.org>1996-04-19 19:00:26 +0000
commite0150c8ff774c3e217c636046b73c7b8559150a1 (patch)
treeb1a00d14006d797c9e77fbe400c4a032fc2169c4
parent8a4599117ba1537d77e66475f83944995f85e437 (diff)
downloadsrc-e0150c8ff774c3e217c636046b73c7b8559150a1.tar.gz
src-e0150c8ff774c3e217c636046b73c7b8559150a1.zip
Notes
-rw-r--r--lib/libc/gen/clock.32
-rw-r--r--lib/libc/gen/time.31
-rw-r--r--lib/libc/stdtime/ctime.31
-rw-r--r--lib/libc/stdtime/strftime.32
-rw-r--r--lib/libc/stdtime/time2posix.31
5 files changed, 1 insertions, 6 deletions
diff --git a/lib/libc/gen/clock.3 b/lib/libc/gen/clock.3
index 8f1b78a6ba37..0e5ad06bd56d 100644
--- a/lib/libc/gen/clock.3
+++ b/lib/libc/gen/clock.3
@@ -42,7 +42,7 @@
.Nm clock
.Nd determine processor time used
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.Fd #include <time.h>
.Ft clock_t
.Fn clock void
.Sh DESCRIPTION
diff --git a/lib/libc/gen/time.3 b/lib/libc/gen/time.3
index 62833936a5a1..ecf767dc281e 100644
--- a/lib/libc/gen/time.3
+++ b/lib/libc/gen/time.3
@@ -42,7 +42,6 @@
.Nm time
.Nd get time of day
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
.Fd #include <time.h>
.Ft time_t
.Fn time "time_t *tloc"
diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3
index 1a6ba5a1b28e..eccb664ce85c 100644
--- a/lib/libc/stdtime/ctime.3
+++ b/lib/libc/stdtime/ctime.3
@@ -46,7 +46,6 @@
.Nd transform binary date and time value to
.Tn ASCII
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
.Fd #include <time.h>
.Vt extern char *tzname[2];
.Ft char *
diff --git a/lib/libc/stdtime/strftime.3 b/lib/libc/stdtime/strftime.3
index b0647b3b1521..6f4a86b9bed9 100644
--- a/lib/libc/stdtime/strftime.3
+++ b/lib/libc/stdtime/strftime.3
@@ -42,9 +42,7 @@
.Nm strftime
.Nd format date and time
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
.Fd #include <time.h>
-.Fd #include <string.h>
.Ft size_t
.Fn strftime "char *buf" "size_t maxsize" "const char *format" "const struct tm *timeptr"
.Sh DESCRIPTION
diff --git a/lib/libc/stdtime/time2posix.3 b/lib/libc/stdtime/time2posix.3
index 740e532fdf73..7faa85dcb2c3 100644
--- a/lib/libc/stdtime/time2posix.3
+++ b/lib/libc/stdtime/time2posix.3
@@ -3,7 +3,6 @@
time2posix, posix2time \- convert seconds since the Epoch
.SH SYNOPSIS
.nf
-.B #include <sys/types.h>
.B #include <time.h>
.PP
.B time_t time2posix(t)