diff options
author | bde <bde@FreeBSD.org> | 1996-04-19 19:00:26 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1996-04-19 19:00:26 +0000 |
commit | 95fa7f3c1949fa2d96e0978871e37e53e553d250 (patch) | |
tree | b1a00d14006d797c9e77fbe400c4a032fc2169c4 /lib/libc/stdtime | |
parent | b0b36003dc9c5fa2fedae1dbd8d5a35e9189d823 (diff) | |
download | FreeBSD-src-95fa7f3c1949fa2d96e0978871e37e53e553d250.zip FreeBSD-src-95fa7f3c1949fa2d96e0978871e37e53e553d250.tar.gz |
Removed bogus includes of <sys/types.h> from synopses.
This commit covers the man pages for most of the ANSI library functions.
A few others such as strtol.3 have to mention <sys/types.h> because they
mix ANSI interfaces with less well designed extensions.
Diffstat (limited to 'lib/libc/stdtime')
-rw-r--r-- | lib/libc/stdtime/ctime.3 | 1 | ||||
-rw-r--r-- | lib/libc/stdtime/strftime.3 | 2 | ||||
-rw-r--r-- | lib/libc/stdtime/time2posix.3 | 1 |
3 files changed, 0 insertions, 4 deletions
diff --git a/lib/libc/stdtime/ctime.3 b/lib/libc/stdtime/ctime.3 index 1a6ba5a..eccb664 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 b0647b3..6f4a86b 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 740e532..7faa85d 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) |