From 2ba5bb1ff5cb6d83aca18ab31b97a25f9023a79f Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 15 Feb 2001 11:47:31 +0000 Subject: [PATCH] Fixed missing and/or wrong and/or extra includes in synopsis. --- share/man/man9/DELAY.9 | 3 ++- share/man/man9/atomic.9 | 1 + share/man/man9/devtoname.9 | 2 +- share/man/man9/get_cyclecount.9 | 2 +- share/man/man9/get_cyclecounter.9 | 2 +- share/man/man9/mbuf.9 | 2 +- share/man/man9/sbuf.9 | 1 + share/man/man9/swi.9 | 1 + share/man/man9/sysctl_ctx_init.9 | 1 + 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 969b01322ea0..171f7087471b 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 +.Fd #include +.Fd #include .Ft void .Fn DELAY "int delay" .Sh DESCRIPTION diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9 index f6ed9b0841df..a98750fa2f24 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 .Fd #include .Ft void .Fn atomic_add_{acq_,rel_,} "volatile *p" " v" diff --git a/share/man/man9/devtoname.9 b/share/man/man9/devtoname.9 index fca94663320c..7902764940cd 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 +.Fd #include .Fd #include .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 d94d762d655c..5212516399f8 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 +.Fd #include .Fd #include .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 d94d762d655c..5212516399f8 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 +.Fd #include .Fd #include .Ft u_int64_t .Fn get_cyclecounter "void" diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9 index 89f3d64921a3..ad45351b298b 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 +.Fd #include .Fd #include .\" .Ss Mbuf allocation macros diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9 index 6fd8ef74f1b1..704d7ad8f68c 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 .Fd #include .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 4034acbaf37c..cc9eb64474a0 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 .Fd #include .Fd #include .Fd #include diff --git a/share/man/man9/sysctl_ctx_init.9 b/share/man/man9/sysctl_ctx_init.9 index 12971abf1da7..c2805b787680 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 .Fd #include .Ft int .Fo sysctl_ctx_init diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9 index 876466a8d25c..007ea437e553 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 +.Fd #include .Fd #include .Ft void .Fn zbootinit "vm_zone_t z" "char *name" "int size" "void *item" "int nitems"