diff options
author | Todd C. Miller <millert@cvs.openbsd.org> | 2001-07-13 22:14:08 +0000 |
---|---|---|
committer | Todd C. Miller <millert@cvs.openbsd.org> | 2001-07-13 22:14:08 +0000 |
commit | f36924741351aa6c2809e487c2539e730c7378e5 (patch) | |
tree | 1a2369ad04657d2fea6e0be590c3d3d2205a06de | |
parent | 4e1ffb07063315902171cc52bd0567b46c5a8b5c (diff) |
Make the list of required #includes match reality.
-rw-r--r-- | lib/libutil/check_expire.3 | 3 | ||||
-rw-r--r-- | lib/libutil/login.3 | 3 | ||||
-rw-r--r-- | lib/libutil/login_fbtab.3 | 3 | ||||
-rw-r--r-- | lib/libutil/opendisk.3 | 3 | ||||
-rw-r--r-- | lib/libutil/openpty.3 | 3 |
5 files changed, 10 insertions, 5 deletions
diff --git a/lib/libutil/check_expire.3 b/lib/libutil/check_expire.3 index 78078e0d20e..714a93a5377 100644 --- a/lib/libutil/check_expire.3 +++ b/lib/libutil/check_expire.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: check_expire.3,v 1.1 2000/11/27 05:55:47 millert Exp $ +.\" $OpenBSD: check_expire.3,v 1.2 2001/07/13 22:14:07 millert Exp $ .\" .\" Copyright (c) 2000 Todd C. Miller <Todd.Miller@courtesan.com> .\" All rights reserved. @@ -29,6 +29,7 @@ .Nm check_expire .Nd check for password expiration .Sh SYNOPSIS +.Fd #include <stdio.h> .Fd #include <util.h> .Ft int .Fn login_check_expire "FILE *back" "struct passwd *pwd" "char *class" "int lastchance" diff --git a/lib/libutil/login.3 b/lib/libutil/login.3 index 38f7e2585af..1a11eb93cda 100644 --- a/lib/libutil/login.3 +++ b/lib/libutil/login.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: login.3,v 1.2 1999/09/21 04:52:45 csapuntz Exp $ +.\" $OpenBSD: login.3,v 1.3 2001/07/13 22:14:07 millert Exp $ .\" .\" Copyright (c) 1995 .\" The Regents of the University of California. All rights reserved. @@ -44,6 +44,7 @@ .Nm logwtmp .Nd login utility functions .Sh SYNOPSIS +.Fd #include <utmp.h> .Fd #include <util.h> .Ft void .Fn login "struct utmp *ut" diff --git a/lib/libutil/login_fbtab.3 b/lib/libutil/login_fbtab.3 index a7c3592ed87..47a2cb7e717 100644 --- a/lib/libutil/login_fbtab.3 +++ b/lib/libutil/login_fbtab.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: login_fbtab.3,v 1.5 2001/06/03 15:32:57 deraadt Exp $ +.\" $OpenBSD: login_fbtab.3,v 1.6 2001/07/13 22:14:07 millert Exp $ .\" .\" Copyright 1995 by Wietse Venema. All rights reserved. Some individual .\" files may be covered by other copyrights. @@ -23,6 +23,7 @@ .Nd implement device security based on .Pa /etc/fbtab .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <util.h> .Ft void .Fn login_fbtab "char *tty" "uid_t uid" "gid_t gid" diff --git a/lib/libutil/opendisk.3 b/lib/libutil/opendisk.3 index 84f3dc21b8c..6661328f8d6 100644 --- a/lib/libutil/opendisk.3 +++ b/lib/libutil/opendisk.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: opendisk.3,v 1.1 1999/09/21 04:52:45 csapuntz Exp $ +.\" $OpenBSD: opendisk.3,v 1.2 2001/07/13 22:14:07 millert Exp $ .\" $NetBSD: opendisk.3,v 1.4 1999/07/02 15:49:12 simonb Exp $ .\" .\" Copyright (c) 1997 The NetBSD Foundation, Inc. @@ -46,6 +46,7 @@ partition .Sh LIBRARY .Lb libutil .Sh SYNOPSIS +.Fd #include <sys/types.h> .Fd #include <util.h> .Ft int .Fo opendisk diff --git a/lib/libutil/openpty.3 b/lib/libutil/openpty.3 index 439129af813..6d7052a7a13 100644 --- a/lib/libutil/openpty.3 +++ b/lib/libutil/openpty.3 @@ -1,4 +1,4 @@ -.\" $OpenBSD: openpty.3,v 1.6 1999/12/06 19:18:17 deraadt Exp $ +.\" $OpenBSD: openpty.3,v 1.7 2001/07/13 22:14:07 millert Exp $ .\" Copyright (c) 1995 .\" The Regents of the University of California. All rights reserved. .\" @@ -43,6 +43,7 @@ .Nm forkpty .Nd tty utility functions .Sh SYNOPSIS +.Fd #include <termios.h> .Fd #include <util.h> .Ft int .Fn openpty "int *amaster" "int *aslave" "char *name" "struct termios *termp" "struct winsize *winp" |