diff options
author | bde <bde@FreeBSD.org> | 2001-02-15 11:47:31 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 2001-02-15 11:47:31 +0000 |
commit | 4cfcac144df572e42872210ea45cc238db02ddfa (patch) | |
tree | 53b7fbae832c2f002f7d16872ce0f556813e8eba /share | |
parent | 9cfa7058be1cd1cdf0bad74ba7030df7614258b0 (diff) | |
download | FreeBSD-src-4cfcac144df572e42872210ea45cc238db02ddfa.zip FreeBSD-src-4cfcac144df572e42872210ea45cc238db02ddfa.tar.gz |
Fixed missing and/or wrong and/or extra includes in synopsis.
Diffstat (limited to 'share')
-rw-r--r-- | share/man/man9/DELAY.9 | 3 | ||||
-rw-r--r-- | share/man/man9/atomic.9 | 1 | ||||
-rw-r--r-- | share/man/man9/devtoname.9 | 2 | ||||
-rw-r--r-- | share/man/man9/get_cyclecount.9 | 2 | ||||
-rw-r--r-- | share/man/man9/get_cyclecounter.9 | 2 | ||||
-rw-r--r-- | share/man/man9/mbuf.9 | 2 | ||||
-rw-r--r-- | share/man/man9/sbuf.9 | 1 | ||||
-rw-r--r-- | share/man/man9/swi.9 | 1 | ||||
-rw-r--r-- | share/man/man9/sysctl_ctx_init.9 | 1 | ||||
-rw-r--r-- | share/man/man9/zone.9 | 2 |
10 files changed, 11 insertions, 6 deletions
diff --git a/share/man/man9/DELAY.9 b/share/man/man9/DELAY.9 index 969b013..171f708 100644 --- a/share/man/man9/DELAY.9 +++ b/share/man/man9/DELAY.9 @@ -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 diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9 index f6ed9b0..a98750f 100644 --- a/share/man/man9/atomic.9 +++ b/share/man/man9/atomic.9 @@ -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" diff --git a/share/man/man9/devtoname.9 b/share/man/man9/devtoname.9 index fca9466..7902764 100644 --- a/share/man/man9/devtoname.9 +++ b/share/man/man9/devtoname.9 @@ -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" diff --git a/share/man/man9/get_cyclecount.9 b/share/man/man9/get_cyclecount.9 index d94d762..5212516 100644 --- a/share/man/man9/get_cyclecount.9 +++ b/share/man/man9/get_cyclecount.9 @@ -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" diff --git a/share/man/man9/get_cyclecounter.9 b/share/man/man9/get_cyclecounter.9 index d94d762..5212516 100644 --- a/share/man/man9/get_cyclecounter.9 +++ b/share/man/man9/get_cyclecounter.9 @@ -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" diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 89f3d64..ad45351 100644 --- a/share/man/man9/mbuf.9 +++ b/share/man/man9/mbuf.9 @@ -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 diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9 index 6fd8ef7..704d7ad 100644 --- a/share/man/man9/sbuf.9 +++ b/share/man/man9/sbuf.9 @@ -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" diff --git a/share/man/man9/swi.9 b/share/man/man9/swi.9 index 4034acb..cc9eb64 100644 --- a/share/man/man9/swi.9 +++ b/share/man/man9/swi.9 @@ -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> diff --git a/share/man/man9/sysctl_ctx_init.9 b/share/man/man9/sysctl_ctx_init.9 index 12971ab..c2805b7 100644 --- a/share/man/man9/sysctl_ctx_init.9 +++ b/share/man/man9/sysctl_ctx_init.9 @@ -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 diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9 index 876466a..007ea43 100644 --- a/share/man/man9/zone.9 +++ b/share/man/man9/zone.9 @@ -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" |