summaryrefslogtreecommitdiff
path: root/lib
diff options
context:
space:
mode:
authorTodd C. Miller <millert@cvs.openbsd.org>2015-01-15 03:19:44 +0000
committerTodd C. Miller <millert@cvs.openbsd.org>2015-01-15 03:19:44 +0000
commit17ffdb8ab7154bfa0c760ae70cff721cbbad7625 (patch)
tree8c824486e98f96bc010c7c03a443dbbe7de18917 /lib
parent27b4e124210ddb74f1ea5cc9dc21ab113a50bb62 (diff)
POSIX does not require an explicit inclusion of sys/types.h to get
uid_t or gid_t (and neither do we). OK deraadt@
Diffstat (limited to 'lib')
-rw-r--r--lib/libc/gen/getgrent.35
-rw-r--r--lib/libc/gen/getpwent.35
-rw-r--r--lib/libc/gen/getpwnam.35
3 files changed, 6 insertions, 9 deletions
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"