From 21456efabd98f137b3eb244500d8cbfebabf81ed Mon Sep 17 00:00:00 2001 From: millert <> Date: Fri, 13 Jul 2001 22:14:07 +0000 Subject: [PATCH] Make the list of required #includes match reality. --- src/lib/libutil/check_expire.3 | 3 ++- src/lib/libutil/login.3 | 3 ++- src/lib/libutil/login_fbtab.3 | 3 ++- src/lib/libutil/opendisk.3 | 3 ++- src/lib/libutil/openpty.3 | 3 ++- 5 files changed, 10 insertions(+), 5 deletions(-) diff --git a/src/lib/libutil/check_expire.3 b/src/lib/libutil/check_expire.3 index 78078e0d..714a93a5 100644 --- a/src/lib/libutil/check_expire.3 +++ b/src/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 .\" All rights reserved. @@ -29,6 +29,7 @@ .Nm check_expire .Nd check for password expiration .Sh SYNOPSIS +.Fd #include .Fd #include .Ft int .Fn login_check_expire "FILE *back" "struct passwd *pwd" "char *class" "int lastchance" diff --git a/src/lib/libutil/login.3 b/src/lib/libutil/login.3 index 38f7e258..1a11eb93 100644 --- a/src/lib/libutil/login.3 +++ b/src/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 .Fd #include .Ft void .Fn login "struct utmp *ut" diff --git a/src/lib/libutil/login_fbtab.3 b/src/lib/libutil/login_fbtab.3 index a7c3592e..47a2cb7e 100644 --- a/src/lib/libutil/login_fbtab.3 +++ b/src/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 .Fd #include .Ft void .Fn login_fbtab "char *tty" "uid_t uid" "gid_t gid" diff --git a/src/lib/libutil/opendisk.3 b/src/lib/libutil/opendisk.3 index 84f3dc21..6661328f 100644 --- a/src/lib/libutil/opendisk.3 +++ b/src/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 .Fd #include .Ft int .Fo opendisk diff --git a/src/lib/libutil/openpty.3 b/src/lib/libutil/openpty.3 index 439129af..6d7052a7 100644 --- a/src/lib/libutil/openpty.3 +++ b/src/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 .Fd #include .Ft int .Fn openpty "int *amaster" "int *aslave" "char *name" "struct termios *termp" "struct winsize *winp"