From b1d3fc49a94f4f0d244d753a1572096a6b49b7d1 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Fri, 16 Jan 1998 18:06:23 +0000 Subject: [PATCH] Fixed a missing #include in the synopsis. --- share/man/man9/bios.9 | 3 ++- share/man/man9/devfs_link.9 | 3 ++- share/man/man9/devfs_remove_dev.9 | 3 ++- share/man/man9/fetch.9 | 1 + share/man/man9/malloc.9 | 1 + share/man/man9/store.9 | 1 + share/man/man9/suser.9 | 3 ++- 7 files changed, 11 insertions(+), 4 deletions(-) diff --git a/share/man/man9/bios.9 b/share/man/man9/bios.9 index 7d3fd618ff10..088b28ee3d08 100644 --- a/share/man/man9/bios.9 +++ b/share/man/man9/bios.9 @@ -1,4 +1,4 @@ -.\" $Id: bios.9,v 1.1 1997/08/01 06:04:08 msmith Exp $ +.\" $Id: bios.9,v 1.2 1997/08/01 15:17:54 msmith Exp $ .\" .\" Copyright (c) 1997 Michael Smith .\" All rights reserved. @@ -33,6 +33,7 @@ .Nm bios32 .Nd Interact with PC BIOS. .Sh SYNOPSIS +.Fd #include .Fd #include .Ft u_int32_t .Fn bios_sigsearch "u_int32_t start" "u_char *sig" "int siglen" "int paralen" "int sigofs" diff --git a/share/man/man9/devfs_link.9 b/share/man/man9/devfs_link.9 index 2d4c84b10029..5dbf946f0c9d 100644 --- a/share/man/man9/devfs_link.9 +++ b/share/man/man9/devfs_link.9 @@ -25,7 +25,7 @@ .\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF .\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE. .\" -.\" $Id: devfs_link.9,v 1.6 1997/02/22 13:26:24 peter Exp $ +.\" $Id: devfs_link.9,v 1.7 1997/04/13 14:49:05 bde Exp $ .\" .Dd December 31, 1995 .Os FreeBSD @@ -34,6 +34,7 @@ .Nm devfs_link .Nd make a hard link for a devfs entry .Sh SYNOPSIS +.Fd #include .Fd #include .Ft void * .Fn devfs_link "void *original" "char *fmt" ... diff --git a/share/man/man9/devfs_remove_dev.9 b/share/man/man9/devfs_remove_dev.9 index fdc89756c0f1..fee206892a01 100644 --- a/share/man/man9/devfs_remove_dev.9 +++ b/share/man/man9/devfs_remove_dev.9 @@ -29,7 +29,7 @@ .\" -translation to english: .\" - You can't claim it's yours without admitting to the bits I wrote. .\" - You don't need to say anything in binary releases unless asked. -.\" $Id: devfs_remove_dev.9,v 1.7 1996/05/13 14:59:15 julian Exp $ +.\" $Id: devfs_remove_dev.9,v 1.1 1997/12/25 05:54:24 julian Exp $ .\" .Dd December 25, 1997 .Os FreeBSD @@ -38,6 +38,7 @@ .Nm devfs_remove_dev .Nd remove all references to a devfs device node and delete the node. .Sh SYNOPSIS +.Fd #include .Fd #include .Ft void .Fn devfs_remove_dev "void * token" diff --git a/share/man/man9/fetch.9 b/share/man/man9/fetch.9 index 96dde020aa0f..2c49b0bf77db 100644 --- a/share/man/man9/fetch.9 +++ b/share/man/man9/fetch.9 @@ -44,6 +44,7 @@ .Nd fetch data from user-space .Sh SYNOPSIS .Fd #include +.Fd #include .Fd #include .Fd #include .Ft int diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9 index bfc829f8d2ba..605c91ac4547 100644 --- a/share/man/man9/malloc.9 +++ b/share/man/man9/malloc.9 @@ -44,6 +44,7 @@ .Nm FREE .Nd kernel memory management routines .Sh SYNOPSIS +.Fd #include .Fd #include .Ft void * .Fn malloc "unsigned long size" "struct malloc_type *type" "int flags" diff --git a/share/man/man9/store.9 b/share/man/man9/store.9 index 2982685f3ac2..fa4de6d73bd0 100644 --- a/share/man/man9/store.9 +++ b/share/man/man9/store.9 @@ -44,6 +44,7 @@ .Nd store data to user-space .Sh SYNOPSIS .Fd #include +.Fd #include .Fd #include .Fd #include .Ft int diff --git a/share/man/man9/suser.9 b/share/man/man9/suser.9 index f3fe45296664..916ceec50233 100644 --- a/share/man/man9/suser.9 +++ b/share/man/man9/suser.9 @@ -31,7 +31,7 @@ .\" OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF .\" SUCH DAMAGE. .\" -.\" $Id$ +.\" $Id: suser.9,v 1.4 1997/03/07 02:53:37 jmg Exp $ .\" .Dd Oct 15, 1996 .Dt SUSER 9 @@ -40,6 +40,7 @@ .Nm suser .Nd check if we are superuser and note .Sh SYNOPSIS +.Fd #include .Fd #include .Ft int .Fn suser "struct ucred *cred, u_short *acflag"