From: millert Date: Thu, 15 Jan 2015 03:19:43 +0000 (+0000) Subject: POSIX does not require an explicit inclusion of sys/types.h to get X-Git-Url: http://artulab.com/gitweb/?a=commitdiff_plain;h=f9c42d4a96b4f79cee834e2af1f90a61a1696e77;p=openbsd POSIX does not require an explicit inclusion of sys/types.h to get uid_t or gid_t (and neither do we). OK deraadt@ --- diff --git a/lib/libc/gen/getgrent.3 b/lib/libc/gen/getgrent.3 index 787c8026060..a5f03ec830d 100644 --- a/lib/libc/gen/getgrent.3 +++ b/lib/libc/gen/getgrent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getgrent.3,v 1.19 2014/03/12 11:36:06 schwarze Exp $ +.\" $OpenBSD: getgrent.3,v 1.20 2015/01/15 03:19:43 millert Exp $ .\" .\" Copyright (c) 1989, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: March 12 2014 $ +.Dd $Mdocdate: January 15 2015 $ .Dt GETGRENT 3 .Os .Sh NAME @@ -42,7 +42,6 @@ .Nm endgrent .Nd group database operations .Sh SYNOPSIS -.In sys/types.h .In grp.h .Ft struct group * .Fn getgrent void diff --git a/lib/libc/gen/getpwent.3 b/lib/libc/gen/getpwent.3 index d8eefcca39f..cc7167321f3 100644 --- a/lib/libc/gen/getpwent.3 +++ b/lib/libc/gen/getpwent.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpwent.3,v 1.28 2014/03/12 12:54:45 jmc Exp $ +.\" $OpenBSD: getpwent.3,v 1.29 2015/01/15 03:19:43 millert Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: March 12 2014 $ +.Dd $Mdocdate: January 15 2015 $ .Dt GETPWENT 3 .Os .Sh NAME @@ -36,7 +36,6 @@ .Nm endpwent .Nd sequential password database access .Sh SYNOPSIS -.In sys/types.h .In pwd.h .Ft struct passwd * .Fn getpwent void diff --git a/lib/libc/gen/getpwnam.3 b/lib/libc/gen/getpwnam.3 index ec2ce9c6c29..f0e08480b13 100644 --- a/lib/libc/gen/getpwnam.3 +++ b/lib/libc/gen/getpwnam.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: getpwnam.3,v 1.6 2014/03/12 11:36:06 schwarze Exp $ +.\" $OpenBSD: getpwnam.3,v 1.7 2015/01/15 03:19:43 millert Exp $ .\" .\" Copyright (c) 1988, 1991, 1993 .\" The Regents of the University of California. All rights reserved. @@ -27,7 +27,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.Dd $Mdocdate: March 12 2014 $ +.Dd $Mdocdate: January 15 2015 $ .Dt GETPWNAM 3 .Os .Sh NAME @@ -38,7 +38,6 @@ .Nm setpassent .Nd password database operations .Sh SYNOPSIS -.In sys/types.h .In pwd.h .Ft struct passwd * .Fn getpwnam "const char *login"