Fixed missing and/or wrong and/or extra includes in synopsis.

This commit is contained in:
Bruce Evans 2001-02-15 11:47:31 +00:00
parent 0e03f2ce15
commit 2ba5bb1ff5
10 changed files with 11 additions and 6 deletions

View File

@ -35,7 +35,8 @@
.Nm DELAY
.Nd Busy loop for an interval.
.Sh SYNOPSIS
.Fd #include <machine/clock.h>
.Fd #include <sys/types.h>
.Fd #include <sys/systm.h>
.Ft void
.Fn DELAY "int delay"
.Sh DESCRIPTION

View File

@ -37,6 +37,7 @@
.Nm atomic_store
.Nd atomic operations
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <machine/atomic.h>
.Ft void
.Fn atomic_add_{acq_,rel_,}<type> "volatile <type> *p" "<type> v"

View File

@ -31,7 +31,7 @@
.Nm devtoname
.Nd "Converts dev_t data into a string indicating the device name"
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/param.h>
.Fd #include <sys/conf.h>
.Ft const char *
.Fn devtoname "dev_t dev"

View File

@ -31,7 +31,7 @@
.Nm get_cyclecounter
.Nd get the CPU's fast counter register contents
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/param.h>
.Fd #include <machine/cpu.h>
.Ft u_int64_t
.Fn get_cyclecounter "void"

View File

@ -31,7 +31,7 @@
.Nm get_cyclecounter
.Nd get the CPU's fast counter register contents
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/param.h>
.Fd #include <machine/cpu.h>
.Ft u_int64_t
.Fn get_cyclecounter "void"

View File

@ -33,7 +33,7 @@
.Nd "memory management in the kernel IPC subsystem"
.\"
.Sh SYNOPSIS
.Fd #include <machine/param.h>
.Fd #include <sys/param.h>
.Fd #include <sys/mbuf.h>
.\"
.Ss Mbuf allocation macros

View File

@ -43,6 +43,7 @@
.Nm sbuf_delete
.Nd safe string formatting
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/sbuf.h>
.Ft int
.Fn sbuf_new "struct sbuf *s" "char *buf" "int length" "int flags"

View File

@ -32,6 +32,7 @@
.Nm sinthand_add
.Nd register and schedule software interrupt handlers
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
.Fd #include <sys/proc.h>
.Fd #include <sys/interrupt.h>

View File

@ -38,6 +38,7 @@
.Nm sysctl_ctx_entry_del
.Nd sysctl context for managing dynamically created sysctl oids.
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/sysctl.h>
.Ft int
.Fo sysctl_ctx_init

View File

@ -36,7 +36,7 @@
.Nm zfree
.Nd zone allocator
.Sh SYNOPSIS
.Fd #include <sys/types.h>
.Fd #include <sys/param.h>
.Fd #include <vm/vm_zone.h>
.Ft void
.Fn zbootinit "vm_zone_t z" "char *name" "int size" "void *item" "int nitems"