Browse Source

Make the list of required #includes match reality.

OPENBSD_3_0
millert 23 years ago
parent
commit
21456efabd
5 changed files with 10 additions and 5 deletions
  1. +2
    -1
      src/lib/libutil/check_expire.3
  2. +2
    -1
      src/lib/libutil/login.3
  3. +2
    -1
      src/lib/libutil/login_fbtab.3
  4. +2
    -1
      src/lib/libutil/opendisk.3
  5. +2
    -1
      src/lib/libutil/openpty.3

+ 2
- 1
src/lib/libutil/check_expire.3 View File

@ -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"


+ 2
- 1
src/lib/libutil/login.3 View File

@ -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"


+ 2
- 1
src/lib/libutil/login_fbtab.3 View File

@ -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"


+ 2
- 1
src/lib/libutil/opendisk.3 View File

@ -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


+ 2
- 1
src/lib/libutil/openpty.3 View File

@ -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"


Loading…
Cancel
Save