aboutsummaryrefslogtreecommitdiff
path: root/share/man
diff options
context:
space:
mode:
authorRuslan Ermilov <ru@FreeBSD.org>2001-10-01 16:09:29 +0000
committerRuslan Ermilov <ru@FreeBSD.org>2001-10-01 16:09:29 +0000
commit32eef9aeb1f39a1623cea55da147c89abbd5b9a5 (patch)
tree0ba5da0413d7f6bd39551fb636861f2919892751 /share/man
parentf2ac7de925431ada9eb55447031e673f8c4e6257 (diff)
downloadsrc-32eef9aeb1f39a1623cea55da147c89abbd5b9a5.tar.gz
src-32eef9aeb1f39a1623cea55da147c89abbd5b9a5.zip
mdoc(7) police: Use the new .In macro for #include statements.
Notes
Notes: svn path=/head/; revision=84306
Diffstat (limited to 'share/man')
-rw-r--r--share/man/man3/assert.32
-rw-r--r--share/man/man3/bitstring.32
-rw-r--r--share/man/man3/fpgetround.32
-rw-r--r--share/man/man3/pthread.32
-rw-r--r--share/man/man3/pthread_attr.32
-rw-r--r--share/man/man3/pthread_cancel.32
-rw-r--r--share/man/man3/pthread_cleanup_pop.32
-rw-r--r--share/man/man3/pthread_cleanup_push.32
-rw-r--r--share/man/man3/pthread_cond_broadcast.32
-rw-r--r--share/man/man3/pthread_cond_destroy.32
-rw-r--r--share/man/man3/pthread_cond_init.32
-rw-r--r--share/man/man3/pthread_cond_signal.32
-rw-r--r--share/man/man3/pthread_cond_timedwait.32
-rw-r--r--share/man/man3/pthread_cond_wait.32
-rw-r--r--share/man/man3/pthread_condattr.32
-rw-r--r--share/man/man3/pthread_create.32
-rw-r--r--share/man/man3/pthread_detach.32
-rw-r--r--share/man/man3/pthread_equal.32
-rw-r--r--share/man/man3/pthread_exit.32
-rw-r--r--share/man/man3/pthread_getspecific.32
-rw-r--r--share/man/man3/pthread_join.32
-rw-r--r--share/man/man3/pthread_key_create.32
-rw-r--r--share/man/man3/pthread_key_delete.32
-rw-r--r--share/man/man3/pthread_kill.34
-rw-r--r--share/man/man3/pthread_mutex_destroy.32
-rw-r--r--share/man/man3/pthread_mutex_init.32
-rw-r--r--share/man/man3/pthread_mutex_lock.32
-rw-r--r--share/man/man3/pthread_mutex_trylock.32
-rw-r--r--share/man/man3/pthread_mutex_unlock.32
-rw-r--r--share/man/man3/pthread_mutexattr.32
-rw-r--r--share/man/man3/pthread_once.32
-rw-r--r--share/man/man3/pthread_rwlock_destroy.32
-rw-r--r--share/man/man3/pthread_rwlock_init.32
-rw-r--r--share/man/man3/pthread_rwlock_rdlock.32
-rw-r--r--share/man/man3/pthread_rwlock_unlock.32
-rw-r--r--share/man/man3/pthread_rwlock_wrlock.32
-rw-r--r--share/man/man3/pthread_rwlockattr_destroy.32
-rw-r--r--share/man/man3/pthread_rwlockattr_getpshared.32
-rw-r--r--share/man/man3/pthread_rwlockattr_init.32
-rw-r--r--share/man/man3/pthread_rwlockattr_setpshared.32
-rw-r--r--share/man/man3/pthread_schedparam.32
-rw-r--r--share/man/man3/pthread_self.32
-rw-r--r--share/man/man3/pthread_setspecific.32
-rw-r--r--share/man/man3/pthread_sigmask.34
-rw-r--r--share/man/man3/pthread_testcancel.32
-rw-r--r--share/man/man3/queue.32
-rw-r--r--share/man/man3/stdarg.32
-rw-r--r--share/man/man3/sysexits.32
-rw-r--r--share/man/man4/divert.46
-rw-r--r--share/man/man4/dummynet.48
-rw-r--r--share/man/man4/icmp.46
-rw-r--r--share/man/man4/icmp6.48
-rw-r--r--share/man/man4/ifmib.412
-rw-r--r--share/man/man4/inet.44
-rw-r--r--share/man/man4/inet6.44
-rw-r--r--share/man/man4/ip.46
-rw-r--r--share/man/man4/ip6.46
-rw-r--r--share/man/man4/ipfirewall.48
-rw-r--r--share/man/man4/ipsec.46
-rw-r--r--share/man/man4/joy.42
-rw-r--r--share/man/man4/man4.i386/gsc.42
-rw-r--r--share/man/man4/man4.i386/spkr.42
-rw-r--r--share/man/man4/mouse.42
-rw-r--r--share/man/man4/netintro.410
-rw-r--r--share/man/man4/ng_UI.42
-rw-r--r--share/man/man4/ng_async.42
-rw-r--r--share/man/man4/ng_bpf.44
-rw-r--r--share/man/man4/ng_bridge.44
-rw-r--r--share/man/man4/ng_cisco.44
-rw-r--r--share/man/man4/ng_echo.42
-rw-r--r--share/man/man4/ng_ether.42
-rw-r--r--share/man/man4/ng_frame_relay.42
-rw-r--r--share/man/man4/ng_hole.42
-rw-r--r--share/man/man4/ng_iface.42
-rw-r--r--share/man/man4/ng_ksocket.42
-rw-r--r--share/man/man4/ng_lmi.42
-rw-r--r--share/man/man4/ng_mppc.44
-rw-r--r--share/man/man4/ng_one2many.44
-rw-r--r--share/man/man4/ng_ppp.42
-rw-r--r--share/man/man4/ng_pppoe.44
-rw-r--r--share/man/man4/ng_pptpgre.42
-rw-r--r--share/man/man4/ng_rfc1490.42
-rw-r--r--share/man/man4/ng_socket.44
-rw-r--r--share/man/man4/ng_split.42
-rw-r--r--share/man/man4/ng_tee.42
-rw-r--r--share/man/man4/ng_tty.46
-rw-r--r--share/man/man4/ng_vjc.44
-rw-r--r--share/man/man4/ppi.44
-rw-r--r--share/man/man4/route.410
-rw-r--r--share/man/man4/snp.42
-rw-r--r--share/man/man4/spkr.42
-rw-r--r--share/man/man4/sysmouse.44
-rw-r--r--share/man/man4/tcp.46
-rw-r--r--share/man/man4/termios.42
-rw-r--r--share/man/man4/ttcp.48
-rw-r--r--share/man/man4/tty.42
-rw-r--r--share/man/man4/udp.46
-rw-r--r--share/man/man5/a.out.52
-rw-r--r--share/man/man5/acct.54
-rw-r--r--share/man/man5/core.52
-rw-r--r--share/man/man5/dir.52
-rw-r--r--share/man/man5/disktab.52
-rw-r--r--share/man/man5/elf.52
-rw-r--r--share/man/man5/fs.512
-rw-r--r--share/man/man5/fstab.52
-rw-r--r--share/man/man5/link.56
-rw-r--r--share/man/man5/stab.52
-rw-r--r--share/man/man5/types.52
-rw-r--r--share/man/man5/utmp.54
-rw-r--r--share/man/man7/clocks.72
-rw-r--r--share/man/man9/BUS_PRINT_CHILD.94
-rw-r--r--share/man/man9/BUS_READ_IVAR.94
-rw-r--r--share/man/man9/BUS_SETUP_INTR.94
-rw-r--r--share/man/man9/DECLARE_MODULE.92
-rw-r--r--share/man/man9/DELAY.94
-rw-r--r--share/man/man9/DEVICE_ATTACH.94
-rw-r--r--share/man/man9/DEVICE_DETACH.94
-rw-r--r--share/man/man9/DEVICE_IDENTIFY.94
-rw-r--r--share/man/man9/DEVICE_PROBE.94
-rw-r--r--share/man/man9/DEVICE_SHUTDOWN.94
-rw-r--r--share/man/man9/DEV_MODULE.94
-rw-r--r--share/man/man9/DRIVER_MODULE.96
-rw-r--r--share/man/man9/MD5.94
-rw-r--r--share/man/man9/MODULE_DEPEND.92
-rw-r--r--share/man/man9/MODULE_VERSION.92
-rw-r--r--share/man/man9/SYSCALL_MODULE.96
-rw-r--r--share/man/man9/VFS_CHECKEXP.94
-rw-r--r--share/man/man9/VFS_FHTOVP.96
-rw-r--r--share/man/man9/VFS_INIT.96
-rw-r--r--share/man/man9/VFS_MOUNT.96
-rw-r--r--share/man/man9/VFS_QUOTACTL.96
-rw-r--r--share/man/man9/VFS_ROOT.96
-rw-r--r--share/man/man9/VFS_START.96
-rw-r--r--share/man/man9/VFS_STATFS.96
-rw-r--r--share/man/man9/VFS_SYNC.96
-rw-r--r--share/man/man9/VFS_UNMOUNT.96
-rw-r--r--share/man/man9/VFS_VGET.96
-rw-r--r--share/man/man9/VFS_VPTOFH.96
-rw-r--r--share/man/man9/VOP_ACCESS.94
-rw-r--r--share/man/man9/VOP_ACLCHECK.96
-rw-r--r--share/man/man9/VOP_ADVLOCK.98
-rw-r--r--share/man/man9/VOP_ATTRIB.94
-rw-r--r--share/man/man9/VOP_BWRITE.94
-rw-r--r--share/man/man9/VOP_CREATE.96
-rw-r--r--share/man/man9/VOP_FSYNC.94
-rw-r--r--share/man/man9/VOP_GETACL.96
-rw-r--r--share/man/man9/VOP_GETEXTATTR.96
-rw-r--r--share/man/man9/VOP_GETPAGES.96
-rw-r--r--share/man/man9/VOP_GETVOBJECT.94
-rw-r--r--share/man/man9/VOP_INACTIVE.94
-rw-r--r--share/man/man9/VOP_IOCTL.94
-rw-r--r--share/man/man9/VOP_LEASE.94
-rw-r--r--share/man/man9/VOP_LINK.94
-rw-r--r--share/man/man9/VOP_LOCK.96
-rw-r--r--share/man/man9/VOP_LOOKUP.96
-rw-r--r--share/man/man9/VOP_OPENCLOSE.94
-rw-r--r--share/man/man9/VOP_PATHCONF.96
-rw-r--r--share/man/man9/VOP_PRINT.94
-rw-r--r--share/man/man9/VOP_RDWR.96
-rw-r--r--share/man/man9/VOP_READDIR.96
-rw-r--r--share/man/man9/VOP_READLINK.96
-rw-r--r--share/man/man9/VOP_REALLOCBLKS.94
-rw-r--r--share/man/man9/VOP_REMOVE.94
-rw-r--r--share/man/man9/VOP_RENAME.94
-rw-r--r--share/man/man9/VOP_SETACL.96
-rw-r--r--share/man/man9/VOP_SETEXTATTR.96
-rw-r--r--share/man/man9/VOP_STRATEGY.94
-rw-r--r--share/man/man9/VOP_VPTOFH.96
-rw-r--r--share/man/man9/accept_filter.98
-rw-r--r--share/man/man9/acl.96
-rw-r--r--share/man/man9/at_exit.94
-rw-r--r--share/man/man9/at_fork.94
-rw-r--r--share/man/man9/atomic.94
-rw-r--r--share/man/man9/bios.94
-rw-r--r--share/man/man9/boot.96
-rw-r--r--share/man/man9/bus_alloc_resource.910
-rw-r--r--share/man/man9/bus_generic_attach.94
-rw-r--r--share/man/man9/bus_generic_detach.94
-rw-r--r--share/man/man9/bus_generic_map_intr.94
-rw-r--r--share/man/man9/bus_generic_print_child.94
-rw-r--r--share/man/man9/bus_generic_read_ivar.94
-rw-r--r--share/man/man9/bus_generic_shutdown.94
-rw-r--r--share/man/man9/bus_release_resource.910
-rw-r--r--share/man/man9/condvar.92
-rw-r--r--share/man/man9/copy.94
-rw-r--r--share/man/man9/critical_enter.94
-rw-r--r--share/man/man9/devclass_add_driver.94
-rw-r--r--share/man/man9/devclass_find.94
-rw-r--r--share/man/man9/devclass_get_device.94
-rw-r--r--share/man/man9/devclass_get_devices.94
-rw-r--r--share/man/man9/devclass_get_maxunit.94
-rw-r--r--share/man/man9/devclass_get_name.94
-rw-r--r--share/man/man9/devclass_get_softc.94
-rw-r--r--share/man/man9/device_add_child.94
-rw-r--r--share/man/man9/device_delete_child.94
-rw-r--r--share/man/man9/device_enable.94
-rw-r--r--share/man/man9/device_find_child.94
-rw-r--r--share/man/man9/device_get_children.94
-rw-r--r--share/man/man9/device_get_devclass.94
-rw-r--r--share/man/man9/device_get_driver.94
-rw-r--r--share/man/man9/device_get_ivars.94
-rw-r--r--share/man/man9/device_get_softc.94
-rw-r--r--share/man/man9/device_get_state.94
-rw-r--r--share/man/man9/device_get_unit.94
-rw-r--r--share/man/man9/device_probe_and_attach.94
-rw-r--r--share/man/man9/device_quiet.94
-rw-r--r--share/man/man9/device_set_desc.94
-rw-r--r--share/man/man9/device_set_flags.94
-rw-r--r--share/man/man9/devstat.92
-rw-r--r--share/man/man9/devtoname.94
-rw-r--r--share/man/man9/extattr.96
-rw-r--r--share/man/man9/fetch.98
-rw-r--r--share/man/man9/get_cyclecount.94
-rw-r--r--share/man/man9/get_cyclecounter.94
-rw-r--r--share/man/man9/ifnet.912
-rw-r--r--share/man/man9/inittodr.94
-rw-r--r--share/man/man9/ithread.94
-rw-r--r--share/man/man9/kernacc.96
-rw-r--r--share/man/man9/kobj.94
-rw-r--r--share/man/man9/kthread.92
-rw-r--r--share/man/man9/lock.94
-rw-r--r--share/man/man9/make_dev.94
-rw-r--r--share/man/man9/malloc.94
-rw-r--r--share/man/man9/mbchain.94
-rw-r--r--share/man/man9/mbuf.94
-rw-r--r--share/man/man9/mdchain.94
-rw-r--r--share/man/man9/mi_switch.94
-rw-r--r--share/man/man9/microseq.96
-rw-r--r--share/man/man9/microtime.92
-rw-r--r--share/man/man9/microuptime.92
-rw-r--r--share/man/man9/mutex.96
-rw-r--r--share/man/man9/namei.94
-rw-r--r--share/man/man9/panic.92
-rw-r--r--share/man/man9/pfil.98
-rw-r--r--share/man/man9/physio.96
-rw-r--r--share/man/man9/printf.94
-rw-r--r--share/man/man9/psignal.94
-rw-r--r--share/man/man9/random.94
-rw-r--r--share/man/man9/resettodr.94
-rw-r--r--share/man/man9/resource_int_value.92
-rw-r--r--share/man/man9/resource_query_string.92
-rw-r--r--share/man/man9/rtalloc.96
-rw-r--r--share/man/man9/rtentry.96
-rw-r--r--share/man/man9/runqueue.94
-rw-r--r--share/man/man9/sbuf.94
-rw-r--r--share/man/man9/scheduler.94
-rw-r--r--share/man/man9/sleep.96
-rw-r--r--share/man/man9/sleepqueue.94
-rw-r--r--share/man/man9/spl.94
-rw-r--r--share/man/man9/store.98
-rw-r--r--share/man/man9/suser.94
-rw-r--r--share/man/man9/swi.96
-rw-r--r--share/man/man9/sx.98
-rw-r--r--share/man/man9/sysctl_add_oid.92
-rw-r--r--share/man/man9/sysctl_ctx_init.94
-rw-r--r--share/man/man9/taskqueue.96
-rw-r--r--share/man/man9/timeout.94
-rw-r--r--share/man/man9/tvtohz.92
-rw-r--r--share/man/man9/uio.94
-rw-r--r--share/man/man9/vcount.96
-rw-r--r--share/man/man9/vget.94
-rw-r--r--share/man/man9/vnode.94
-rw-r--r--share/man/man9/vput.94
-rw-r--r--share/man/man9/vref.94
-rw-r--r--share/man/man9/vrele.94
-rw-r--r--share/man/man9/vslock.96
-rw-r--r--share/man/man9/zone.94
267 files changed, 538 insertions, 538 deletions
diff --git a/share/man/man3/assert.3 b/share/man/man3/assert.3
index 8e1ab1d95d9f..b13d65329fdb 100644
--- a/share/man/man3/assert.3
+++ b/share/man/man3/assert.3
@@ -39,7 +39,7 @@
.Nm assert
.Nd expression verification macro
.Sh SYNOPSIS
-.Fd #include <assert.h>
+.In assert.h
.Fn assert expression
.Sh DESCRIPTION
The
diff --git a/share/man/man3/bitstring.3 b/share/man/man3/bitstring.3
index 5ae4117acb8d..ed7b0f3dfd0c 100644
--- a/share/man/man3/bitstring.3
+++ b/share/man/man3/bitstring.3
@@ -49,7 +49,7 @@
.Nm bit_test
.Nd bit-string manipulation macros
.Sh SYNOPSIS
-.Fd #include <bitstring.h>
+.In bitstring.h
.Ft bitstr_t *
.Fn bit_alloc "int nbits"
.Ft void
diff --git a/share/man/man3/fpgetround.3 b/share/man/man3/fpgetround.3
index 89f3719e5a94..8b24d3cb4de5 100644
--- a/share/man/man3/fpgetround.3
+++ b/share/man/man3/fpgetround.3
@@ -46,7 +46,7 @@
.Nm fpresetsticky
.Nd IEEE floating point interface
.Sh SYNOPSIS
-.Fd #include <ieeefp.h>
+.In ieeefp.h
.Pp
.Bd -literal
typedef enum {
diff --git a/share/man/man3/pthread.3 b/share/man/man3/pthread.3
index 15bb724b2dd2..c4cef74b8fb0 100644
--- a/share/man/man3/pthread.3
+++ b/share/man/man3/pthread.3
@@ -37,7 +37,7 @@
.Nm pthread
.Nd POSIX thread functions
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Sh DESCRIPTION
POSIX threads are a set of functions that support applications with
requirements for multiple flows of control, called
diff --git a/share/man/man3/pthread_attr.3 b/share/man/man3/pthread_attr.3
index 5412c5913328..ff692e2ba77f 100644
--- a/share/man/man3/pthread_attr.3
+++ b/share/man/man3/pthread_attr.3
@@ -52,7 +52,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_attr_init "pthread_attr_t *attr"
.Ft int
diff --git a/share/man/man3/pthread_cancel.3 b/share/man/man3/pthread_cancel.3
index 2e392de79984..1b998e6eee1d 100644
--- a/share/man/man3/pthread_cancel.3
+++ b/share/man/man3/pthread_cancel.3
@@ -8,7 +8,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_cancel "pthread_t thread"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_cleanup_pop.3 b/share/man/man3/pthread_cleanup_pop.3
index 38fc46ca05fd..532130320136 100644
--- a/share/man/man3/pthread_cleanup_pop.3
+++ b/share/man/man3/pthread_cleanup_pop.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft void
.Fn pthread_cleanup_pop "int execute"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_cleanup_push.3 b/share/man/man3/pthread_cleanup_push.3
index 5cc2a1e0cb79..b7d797edfe62 100644
--- a/share/man/man3/pthread_cleanup_push.3
+++ b/share/man/man3/pthread_cleanup_push.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft void
.Fn pthread_cleanup_push "void \*[lp]*cleanup_routine\*[rp]\*[lp]void *\*[rp]" "void *arg"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_cond_broadcast.3 b/share/man/man3/pthread_cond_broadcast.3
index f881886ed6cc..b3947bd8ac00 100644
--- a/share/man/man3/pthread_cond_broadcast.3
+++ b/share/man/man3/pthread_cond_broadcast.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_cond_broadcast "pthread_cond_t *cond"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_cond_destroy.3 b/share/man/man3/pthread_cond_destroy.3
index 4ac17f951623..ab1ea0f8d2c3 100644
--- a/share/man/man3/pthread_cond_destroy.3
+++ b/share/man/man3/pthread_cond_destroy.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_cond_destroy "pthread_cond_t *cond"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_cond_init.3 b/share/man/man3/pthread_cond_init.3
index 5339f38259a0..542110bbd6ad 100644
--- a/share/man/man3/pthread_cond_init.3
+++ b/share/man/man3/pthread_cond_init.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_cond_init "pthread_cond_t *cond" "const pthread_condattr_t *attr"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_cond_signal.3 b/share/man/man3/pthread_cond_signal.3
index 654d5a803122..4bb85c942b39 100644
--- a/share/man/man3/pthread_cond_signal.3
+++ b/share/man/man3/pthread_cond_signal.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_cond_signal "pthread_cond_t *cond"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_cond_timedwait.3 b/share/man/man3/pthread_cond_timedwait.3
index b0c56e80fe3a..afd16b5f0d02 100644
--- a/share/man/man3/pthread_cond_timedwait.3
+++ b/share/man/man3/pthread_cond_timedwait.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_cond_timedwait "pthread_cond_t *cond" "pthread_mutex_t *mutex" "const struct timespec *abstime"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_cond_wait.3 b/share/man/man3/pthread_cond_wait.3
index e9fde91842f8..e464a1e524a5 100644
--- a/share/man/man3/pthread_cond_wait.3
+++ b/share/man/man3/pthread_cond_wait.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_cond_wait "pthread_cond_t *cond" "pthread_mutex_t *mutex"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_condattr.3 b/share/man/man3/pthread_condattr.3
index 28df565c60f2..478e11264daf 100644
--- a/share/man/man3/pthread_condattr.3
+++ b/share/man/man3/pthread_condattr.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_condattr_init "pthread_condattr_t *attr"
.Ft int
diff --git a/share/man/man3/pthread_create.3 b/share/man/man3/pthread_create.3
index 5f2d24ce8ed3..53b68abc2dd1 100644
--- a/share/man/man3/pthread_create.3
+++ b/share/man/man3/pthread_create.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_create "pthread_t *thread" "const pthread_attr_t *attr" "void *(*start_routine)(void *)" "void *arg"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_detach.3 b/share/man/man3/pthread_detach.3
index a3b660fdde64..15729af692c3 100644
--- a/share/man/man3/pthread_detach.3
+++ b/share/man/man3/pthread_detach.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_detach "pthread_t thread"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_equal.3 b/share/man/man3/pthread_equal.3
index be55e90b46ba..8b733dabdf4d 100644
--- a/share/man/man3/pthread_equal.3
+++ b/share/man/man3/pthread_equal.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_equal "pthread_t t1" "pthread_t t2"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_exit.3 b/share/man/man3/pthread_exit.3
index 1eabc9bcb94b..0bfdad666029 100644
--- a/share/man/man3/pthread_exit.3
+++ b/share/man/man3/pthread_exit.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft void
.Fn pthread_exit "void *value_ptr"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_getspecific.3 b/share/man/man3/pthread_getspecific.3
index c003f3fca894..c7a04fadb646 100644
--- a/share/man/man3/pthread_getspecific.3
+++ b/share/man/man3/pthread_getspecific.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft void *
.Fn pthread_getspecific "pthread_key_t key"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_join.3 b/share/man/man3/pthread_join.3
index f8e8e18a2fea..98ae70d888ef 100644
--- a/share/man/man3/pthread_join.3
+++ b/share/man/man3/pthread_join.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_join "pthread_t thread" "void **value_ptr"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_key_create.3 b/share/man/man3/pthread_key_create.3
index d1fb92216949..7075dcc53d8a 100644
--- a/share/man/man3/pthread_key_create.3
+++ b/share/man/man3/pthread_key_create.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_key_create "pthread_key_t *key" "void (*destructor)(void *)"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_key_delete.3 b/share/man/man3/pthread_key_delete.3
index 9baa5020f12b..bc0cf8a38aad 100644
--- a/share/man/man3/pthread_key_delete.3
+++ b/share/man/man3/pthread_key_delete.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_key_delete "pthread_key_t key"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_kill.3 b/share/man/man3/pthread_kill.3
index 7a33cf6c6016..e46e2b26013d 100644
--- a/share/man/man3/pthread_kill.3
+++ b/share/man/man3/pthread_kill.3
@@ -35,8 +35,8 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
-.Fd #include <signal.h>
+.In pthread.h
+.In signal.h
.Ft int
.Fn pthread_kill "pthread_t thread" "int sig"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_mutex_destroy.3 b/share/man/man3/pthread_mutex_destroy.3
index f7b915d82820..59d2b48980c5 100644
--- a/share/man/man3/pthread_mutex_destroy.3
+++ b/share/man/man3/pthread_mutex_destroy.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_mutex_destroy "pthread_mutex_t *mutex"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_mutex_init.3 b/share/man/man3/pthread_mutex_init.3
index 42b3a26a61f9..c3fb60cd7a5f 100644
--- a/share/man/man3/pthread_mutex_init.3
+++ b/share/man/man3/pthread_mutex_init.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_mutex_init "pthread_mutex_t *mutex" "const pthread_mutexattr_t *attr"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_mutex_lock.3 b/share/man/man3/pthread_mutex_lock.3
index 972d277eade4..cc35ff21f1ef 100644
--- a/share/man/man3/pthread_mutex_lock.3
+++ b/share/man/man3/pthread_mutex_lock.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_mutex_lock "pthread_mutex_t *mutex"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_mutex_trylock.3 b/share/man/man3/pthread_mutex_trylock.3
index 143df146702c..5de24cee73c6 100644
--- a/share/man/man3/pthread_mutex_trylock.3
+++ b/share/man/man3/pthread_mutex_trylock.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_mutex_trylock "pthread_mutex_t *mutex"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_mutex_unlock.3 b/share/man/man3/pthread_mutex_unlock.3
index 93e635496ec6..d5ae7dc4f4df 100644
--- a/share/man/man3/pthread_mutex_unlock.3
+++ b/share/man/man3/pthread_mutex_unlock.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_mutex_unlock "pthread_mutex_t *mutex"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_mutexattr.3 b/share/man/man3/pthread_mutexattr.3
index 707984606094..7476ae16d6f6 100644
--- a/share/man/man3/pthread_mutexattr.3
+++ b/share/man/man3/pthread_mutexattr.3
@@ -42,7 +42,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_mutexattr_init "pthread_mutexattr_t *attr"
.Ft int
diff --git a/share/man/man3/pthread_once.3 b/share/man/man3/pthread_once.3
index 72a132249ccb..7ad97fe98985 100644
--- a/share/man/man3/pthread_once.3
+++ b/share/man/man3/pthread_once.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Pp
pthread_once_t
.Fa once_control
diff --git a/share/man/man3/pthread_rwlock_destroy.3 b/share/man/man3/pthread_rwlock_destroy.3
index 70acf928ebe2..b65e0656750a 100644
--- a/share/man/man3/pthread_rwlock_destroy.3
+++ b/share/man/man3/pthread_rwlock_destroy.3
@@ -33,7 +33,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlock_destroy "pthread_rwlock_t *lock"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_rwlock_init.3 b/share/man/man3/pthread_rwlock_init.3
index 749a848d41d6..0360987db1e3 100644
--- a/share/man/man3/pthread_rwlock_init.3
+++ b/share/man/man3/pthread_rwlock_init.3
@@ -33,7 +33,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlock_init "pthread_rwlock_t *lock" "const pthread_rwlockattr_t *attr"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_rwlock_rdlock.3 b/share/man/man3/pthread_rwlock_rdlock.3
index d3ec9efe14cc..88dbb17fa599 100644
--- a/share/man/man3/pthread_rwlock_rdlock.3
+++ b/share/man/man3/pthread_rwlock_rdlock.3
@@ -34,7 +34,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlock_rdlock "pthread_rwlock_t *lock"
.Ft int
diff --git a/share/man/man3/pthread_rwlock_unlock.3 b/share/man/man3/pthread_rwlock_unlock.3
index f99b9558663a..9391f75df7af 100644
--- a/share/man/man3/pthread_rwlock_unlock.3
+++ b/share/man/man3/pthread_rwlock_unlock.3
@@ -33,7 +33,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlock_unlock "pthread_rwlock_t *lock"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_rwlock_wrlock.3 b/share/man/man3/pthread_rwlock_wrlock.3
index 149a7a0fb450..55ab5f933468 100644
--- a/share/man/man3/pthread_rwlock_wrlock.3
+++ b/share/man/man3/pthread_rwlock_wrlock.3
@@ -34,7 +34,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlock_wrlock "pthread_rwlock_t *lock"
.Ft int
diff --git a/share/man/man3/pthread_rwlockattr_destroy.3 b/share/man/man3/pthread_rwlockattr_destroy.3
index ab6a6e17768b..3ba97cf5e12c 100644
--- a/share/man/man3/pthread_rwlockattr_destroy.3
+++ b/share/man/man3/pthread_rwlockattr_destroy.3
@@ -33,7 +33,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlockattr_destroy "pthread_rwlockattr_t *attr"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_rwlockattr_getpshared.3 b/share/man/man3/pthread_rwlockattr_getpshared.3
index 40eed6e0232a..56bda4409c13 100644
--- a/share/man/man3/pthread_rwlockattr_getpshared.3
+++ b/share/man/man3/pthread_rwlockattr_getpshared.3
@@ -33,7 +33,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlockattr_getpshared "const pthread_rwlockattr_t *attr" "int *pshared"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_rwlockattr_init.3 b/share/man/man3/pthread_rwlockattr_init.3
index 4fbbe3676097..a4aef31fc289 100644
--- a/share/man/man3/pthread_rwlockattr_init.3
+++ b/share/man/man3/pthread_rwlockattr_init.3
@@ -33,7 +33,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlockattr_init "pthread_rwlockattr_t *attr"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_rwlockattr_setpshared.3 b/share/man/man3/pthread_rwlockattr_setpshared.3
index dfc7fe625ce2..48b854d21a6b 100644
--- a/share/man/man3/pthread_rwlockattr_setpshared.3
+++ b/share/man/man3/pthread_rwlockattr_setpshared.3
@@ -33,7 +33,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_rwlockattr_setpshared "pthread_rwlockattr_t *attr" "int pshared"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_schedparam.3 b/share/man/man3/pthread_schedparam.3
index 50c556f2824a..c76f4d9033ed 100644
--- a/share/man/man3/pthread_schedparam.3
+++ b/share/man/man3/pthread_schedparam.3
@@ -36,7 +36,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_setschedparam "pthread_t thread" "int policy" "const struct sched_param *param"
.Ft int
diff --git a/share/man/man3/pthread_self.3 b/share/man/man3/pthread_self.3
index acd46e9955b7..899af43094f3 100644
--- a/share/man/man3/pthread_self.3
+++ b/share/man/man3/pthread_self.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft pthread_t
.Fn pthread_self "void"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_setspecific.3 b/share/man/man3/pthread_setspecific.3
index 5265def7e7f1..5bc274c6e640 100644
--- a/share/man/man3/pthread_setspecific.3
+++ b/share/man/man3/pthread_setspecific.3
@@ -39,7 +39,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_setspecific "pthread_key_t key" "const void *value"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_sigmask.3 b/share/man/man3/pthread_sigmask.3
index 2b23d3ba8149..5efa9256b6a1 100644
--- a/share/man/man3/pthread_sigmask.3
+++ b/share/man/man3/pthread_sigmask.3
@@ -35,8 +35,8 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
-.Fd #include <signal.h>
+.In pthread.h
+.In signal.h
.Ft int
.Fn pthread_sigmask "int how" "const sigset_t *set" "sigset_t *oset"
.Sh DESCRIPTION
diff --git a/share/man/man3/pthread_testcancel.3 b/share/man/man3/pthread_testcancel.3
index 110ab38b2cd7..95672fa1efb4 100644
--- a/share/man/man3/pthread_testcancel.3
+++ b/share/man/man3/pthread_testcancel.3
@@ -10,7 +10,7 @@
.Sh LIBRARY
.Lb libc_r
.Sh SYNOPSIS
-.Fd #include <pthread.h>
+.In pthread.h
.Ft int
.Fn pthread_setcancelstate "int state" "int *oldstate"
.Ft int
diff --git a/share/man/man3/queue.3 b/share/man/man3/queue.3
index 3629132cd1c3..072f86a314b8 100644
--- a/share/man/man3/queue.3
+++ b/share/man/man3/queue.3
@@ -93,7 +93,7 @@
.Nd implementations of singly-linked lists, singly-linked tail queues,
lists and tail queues
.Sh SYNOPSIS
-.Fd #include <sys/queue.h>
+.In sys/queue.h
.\"
.Fn SLIST_EMPTY "SLIST_HEAD *head"
.Fn SLIST_ENTRY "TYPE"
diff --git a/share/man/man3/stdarg.3 b/share/man/man3/stdarg.3
index d5344ef4f87e..354fc0ae9fd2 100644
--- a/share/man/man3/stdarg.3
+++ b/share/man/man3/stdarg.3
@@ -43,7 +43,7 @@
.Nm stdarg
.Nd variable argument lists
.Sh SYNOPSIS
-.Fd #include <stdarg.h>
+.In stdarg.h
.Ft void
.Fn va_start "va_list ap" last
.Ft type
diff --git a/share/man/man3/sysexits.3 b/share/man/man3/sysexits.3
index 424945be37a4..019c1da62cd0 100644
--- a/share/man/man3/sysexits.3
+++ b/share/man/man3/sysexits.3
@@ -33,7 +33,7 @@
.Nm sysexits
.Nd preferable exit codes for programs
.Sh SYNOPSIS
-.Fd #include <sysexits.h>
+.In sysexits.h
.Sh DESCRIPTION
According to
.Xr style 9 ,
diff --git a/share/man/man4/divert.4 b/share/man/man4/divert.4
index 5749217eab35..ec1964c2aac5 100644
--- a/share/man/man4/divert.4
+++ b/share/man/man4/divert.4
@@ -7,9 +7,9 @@
.Nm divert
.Nd kernel packet diversion mechanism
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
.Ft int
.Fn socket PF_INET SOCK_RAW IPPROTO_DIVERT
.Sh DESCRIPTION
diff --git a/share/man/man4/dummynet.4 b/share/man/man4/dummynet.4
index 09e983070a78..3d0c0001315b 100644
--- a/share/man/man4/dummynet.4
+++ b/share/man/man4/dummynet.4
@@ -8,10 +8,10 @@
.Nm dummynet
.Nd flexible bandwidth manager and delay emulator
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/queue.h>
-.Fd #include <netinet/in.h>
-.Fd #include <netinet/ip_fw.h>
+.In sys/types.h
+.In sys/queue.h
+.In netinet/in.h
+.In netinet/ip_fw.h
.Ft int
.Fn setsockopt raw_socket IPPROTO_IP "ipfw option" "struct ipfw" size
.Sh DESCRIPTION
diff --git a/share/man/man4/icmp.4 b/share/man/man4/icmp.4
index 9fc2020df0c6..5fa5752995f4 100644
--- a/share/man/man4/icmp.4
+++ b/share/man/man4/icmp.4
@@ -39,9 +39,9 @@
.Nm icmp
.Nd Internet Control Message Protocol
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
.Ft int
.Fn socket AF_INET SOCK_RAW proto
.Sh DESCRIPTION
diff --git a/share/man/man4/icmp6.4 b/share/man/man4/icmp6.4
index c30fbbfb690a..93c814673f9f 100644
--- a/share/man/man4/icmp6.4
+++ b/share/man/man4/icmp6.4
@@ -68,10 +68,10 @@
.Nd Internet Control Message Protocol for IPv6
.\"
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
-.Fd #include <netinet/icmp6.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
+.In netinet/icmp6.h
.Ft int
.Fn socket AF_INET6 SOCK_RAW proto
.\"
diff --git a/share/man/man4/ifmib.4 b/share/man/man4/ifmib.4
index 405f69beb0e5..9fd6bc891a8c 100644
--- a/share/man/man4/ifmib.4
+++ b/share/man/man4/ifmib.4
@@ -34,12 +34,12 @@
.Nm ifmib
.Nd Management Information Base for network interfaces
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <sys/sysctl.h>
-.Fd #include <sys/time.h>
-.Fd #include <net/if.h>
-.Fd #include <net/if_mib.h>
+.In sys/types.h
+.In sys/socket.h
+.In sys/sysctl.h
+.In sys/time.h
+.In net/if.h
+.In net/if_mib.h
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man4/inet.4 b/share/man/man4/inet.4
index 9dab6d222552..4848a8f46c31 100644
--- a/share/man/man4/inet.4
+++ b/share/man/man4/inet.4
@@ -39,8 +39,8 @@
.Nm inet
.Nd Internet protocol family
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In netinet/in.h
.Sh DESCRIPTION
The Internet protocol family is a collection of protocols
layered atop the
diff --git a/share/man/man4/inet6.4 b/share/man/man4/inet6.4
index 22a106274ef9..c00c3c876881 100644
--- a/share/man/man4/inet6.4
+++ b/share/man/man4/inet6.4
@@ -35,8 +35,8 @@
.Nm inet6
.Nd Internet protocol version 6 family
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In netinet/in.h
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man4/ip.4 b/share/man/man4/ip.4
index 4ccbb113e465..33f6a48e74de 100644
--- a/share/man/man4/ip.4
+++ b/share/man/man4/ip.4
@@ -39,9 +39,9 @@
.Nm ip
.Nd Internet Protocol
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
.Ft int
.Fn socket AF_INET SOCK_RAW proto
.Sh DESCRIPTION
diff --git a/share/man/man4/ip6.4 b/share/man/man4/ip6.4
index 1868eb61345b..c1bd10c009ed 100644
--- a/share/man/man4/ip6.4
+++ b/share/man/man4/ip6.4
@@ -69,9 +69,9 @@
.Nd Internet Protocol version 6 (IPv6)
.\"
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
.Ft int
.Fn socket AF_INET6 SOCK_RAW proto
.\"
diff --git a/share/man/man4/ipfirewall.4 b/share/man/man4/ipfirewall.4
index e6d6b08aadcb..14c714ceb22f 100644
--- a/share/man/man4/ipfirewall.4
+++ b/share/man/man4/ipfirewall.4
@@ -8,10 +8,10 @@
.Nm ipfirewall
.Nd IP packet filter and traffic accounting
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/queue.h>
-.Fd #include <netinet/in.h>
-.Fd #include <netinet/ip_fw.h>
+.In sys/types.h
+.In sys/queue.h
+.In netinet/in.h
+.In netinet/ip_fw.h
.Ft int
.Fn setsockopt raw_socket IPPROTO_IP "ipfw option" "struct ipfw" size
.Sh DESCRIPTION
diff --git a/share/man/man4/ipsec.4 b/share/man/man4/ipsec.4
index 93bde4ed68dc..7aa8cf8df9cf 100644
--- a/share/man/man4/ipsec.4
+++ b/share/man/man4/ipsec.4
@@ -35,9 +35,9 @@
.Nm ipsec
.Nd IP security protocol
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netinet/in.h>
-.Fd #include <netinet6/ipsec.h>
+.In sys/types.h
+.In netinet/in.h
+.In netinet6/ipsec.h
.Sh DESCRIPTION
.Nm
is a security protocol in Internet Protocol layer.
diff --git a/share/man/man4/joy.4 b/share/man/man4/joy.4
index 9d25512b87eb..938ee342b542 100644
--- a/share/man/man4/joy.4
+++ b/share/man/man4/joy.4
@@ -14,7 +14,7 @@ To link into the kernel:
To load as a kernel loadable module:
.Dl kldload joy
.Pp
-.Fd #include <machine/joystick.h>
+.In machine/joystick.h
.Sh DESCRIPTION
The joystick device driver allows applications to read the status of
the PC joystick.
diff --git a/share/man/man4/man4.i386/gsc.4 b/share/man/man4/man4.i386/gsc.4
index 6b6b5d745dfa..3daa0f2d67ad 100644
--- a/share/man/man4/man4.i386/gsc.4
+++ b/share/man/man4/man4.i386/gsc.4
@@ -37,7 +37,7 @@
.Nm gsc
.Nd a device driver for a handy scanner
.Sh SYNOPSIS
-.Fd #include <machine/gsc.h>
+.In machine/gsc.h
.Pp
.Cd Minor number bits: Ar uu d g p ...
.Bl -tag -width "uu " -compact -offset indent
diff --git a/share/man/man4/man4.i386/spkr.4 b/share/man/man4/man4.i386/spkr.4
index 6cd8c5579716..fac01f495d3e 100644
--- a/share/man/man4/man4.i386/spkr.4
+++ b/share/man/man4/man4.i386/spkr.4
@@ -10,7 +10,7 @@
.Nd console speaker device driver
.Sh SYNOPSIS
.Cd device speaker
-.Fd #include <machine/speaker.h>
+.In machine/speaker.h
.Sh DESCRIPTION
The speaker device driver allows applications to control the PC console
speaker on an
diff --git a/share/man/man4/mouse.4 b/share/man/man4/mouse.4
index 55e5a7b24e57..c42eed2801de 100644
--- a/share/man/man4/mouse.4
+++ b/share/man/man4/mouse.4
@@ -33,7 +33,7 @@
.Nm mouse
.Nd mouse and pointing device drivers
.Sh SYNOPSIS
-.Fd #include <sys/mouse.h>
+.In sys/mouse.h
.Sh DESCRIPTION
The mouse drivers
.Xr mse 4 ,
diff --git a/share/man/man4/netintro.4 b/share/man/man4/netintro.4
index f7715be83c9c..dc200ed54e58 100644
--- a/share/man/man4/netintro.4
+++ b/share/man/man4/netintro.4
@@ -39,11 +39,11 @@
.Nm networking
.Nd introduction to networking facilities
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/time.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/if.h>
-.Fd #include <net/route.h>
+.In sys/types.h
+.In sys/time.h
+.In sys/socket.h
+.In net/if.h
+.In net/route.h
.Sh DESCRIPTION
This section is a general introduction to the networking facilities
available in the system.
diff --git a/share/man/man4/ng_UI.4 b/share/man/man4/ng_UI.4
index 04b771aef32a..8fbf93fbf82a 100644
--- a/share/man/man4/ng_UI.4
+++ b/share/man/man4/ng_UI.4
@@ -42,7 +42,7 @@
.Nm ng_UI
.Nd UI netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_UI.h>
+.In netgraph/ng_UI.h
.Sh DESCRIPTION
The
.Nm UI
diff --git a/share/man/man4/ng_async.4 b/share/man/man4/ng_async.4
index 7b2fb96f4af4..22c67b985d55 100644
--- a/share/man/man4/ng_async.4
+++ b/share/man/man4/ng_async.4
@@ -42,7 +42,7 @@
.Nm ng_async
.Nd asynchronous framing netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_async.h>
+.In netgraph/ng_async.h
.Sh DESCRIPTION
The
.Nm async
diff --git a/share/man/man4/ng_bpf.4 b/share/man/man4/ng_bpf.4
index dda938a9dd12..a4717ef68e3f 100644
--- a/share/man/man4/ng_bpf.4
+++ b/share/man/man4/ng_bpf.4
@@ -42,8 +42,8 @@
.Nm ng_bpf
.Nd Berkeley packet filter netgraph node type
.Sh SYNOPSIS
-.Fd #include <net/bpf.h>
-.Fd #include <netgraph/ng_bpf.h>
+.In net/bpf.h
+.In netgraph/ng_bpf.h
.Sh DESCRIPTION
The
.Nm bpf
diff --git a/share/man/man4/ng_bridge.4 b/share/man/man4/ng_bridge.4
index ee4966f40089..d50af6e03e4a 100644
--- a/share/man/man4/ng_bridge.4
+++ b/share/man/man4/ng_bridge.4
@@ -41,8 +41,8 @@
.Nm ng_bridge
.Nd Ethernet bridging netgraph node type
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netgraph/ng_bridge.h>
+.In sys/types.h
+.In netgraph/ng_bridge.h
.Sh DESCRIPTION
The
.Nm bridge
diff --git a/share/man/man4/ng_cisco.4 b/share/man/man4/ng_cisco.4
index d04f7a6ea6e0..3a9d616ec4f3 100644
--- a/share/man/man4/ng_cisco.4
+++ b/share/man/man4/ng_cisco.4
@@ -42,8 +42,8 @@
.Nm ng_cisco
.Nd Cisco HDLC protocol netgraph node type
.Sh SYNOPSIS
-.Fd #include <netinet/in.h>
-.Fd #include <netgraph/ng_cisco.h>
+.In netinet/in.h
+.In netgraph/ng_cisco.h
.Sh DESCRIPTION
The
.Nm cisco
diff --git a/share/man/man4/ng_echo.4 b/share/man/man4/ng_echo.4
index ff923bf6a2ab..f502c621ac00 100644
--- a/share/man/man4/ng_echo.4
+++ b/share/man/man4/ng_echo.4
@@ -42,7 +42,7 @@
.Nm ng_echo
.Nd netgraph echo node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_echo.h>
+.In netgraph/ng_echo.h
.Sh DESCRIPTION
The
.Nm echo
diff --git a/share/man/man4/ng_ether.4 b/share/man/man4/ng_ether.4
index 2667de412295..c51fa154f92a 100644
--- a/share/man/man4/ng_ether.4
+++ b/share/man/man4/ng_ether.4
@@ -41,7 +41,7 @@
.Nm ng_ether
.Nd Ethernet netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_ether.h>
+.In netgraph/ng_ether.h
.Sh DESCRIPTION
The
.Nm
diff --git a/share/man/man4/ng_frame_relay.4 b/share/man/man4/ng_frame_relay.4
index d2b83d8269af..1acef8b5f71f 100644
--- a/share/man/man4/ng_frame_relay.4
+++ b/share/man/man4/ng_frame_relay.4
@@ -42,7 +42,7 @@
.Nm ng_frame_relay
.Nd frame relay netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_frame_relay.h>
+.In netgraph/ng_frame_relay.h
.Sh DESCRIPTION
The
.Nm frame_relay
diff --git a/share/man/man4/ng_hole.4 b/share/man/man4/ng_hole.4
index 3fad941206fd..65a6a093a656 100644
--- a/share/man/man4/ng_hole.4
+++ b/share/man/man4/ng_hole.4
@@ -42,7 +42,7 @@
.Nm ng_hole
.Nd netgraph discard node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_hole.h>
+.In netgraph/ng_hole.h
.Sh DESCRIPTION
The
.Nm hole
diff --git a/share/man/man4/ng_iface.4 b/share/man/man4/ng_iface.4
index 1f4b39561e04..4ae6bb23a922 100644
--- a/share/man/man4/ng_iface.4
+++ b/share/man/man4/ng_iface.4
@@ -42,7 +42,7 @@
.Nm ng_iface
.Nd interface netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_iface.h>
+.In netgraph/ng_iface.h
.Sh DESCRIPTION
An
.Nm iface
diff --git a/share/man/man4/ng_ksocket.4 b/share/man/man4/ng_ksocket.4
index 19ccae02402b..1d59b7733c37 100644
--- a/share/man/man4/ng_ksocket.4
+++ b/share/man/man4/ng_ksocket.4
@@ -41,7 +41,7 @@
.Nm ng_ksocket
.Nd kernel socket netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_ksocket.h>
+.In netgraph/ng_ksocket.h
.Sh DESCRIPTION
A
.Nm ksocket
diff --git a/share/man/man4/ng_lmi.4 b/share/man/man4/ng_lmi.4
index 153988669b8d..0125dee68ea0 100644
--- a/share/man/man4/ng_lmi.4
+++ b/share/man/man4/ng_lmi.4
@@ -42,7 +42,7 @@
.Nm ng_lmi
.Nd frame relay LMI protocol netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_lmi.h>
+.In netgraph/ng_lmi.h
.Sh DESCRIPTION
The
.Nm lmi
diff --git a/share/man/man4/ng_mppc.4 b/share/man/man4/ng_mppc.4
index fbd6d53253cb..b7e64ea98b41 100644
--- a/share/man/man4/ng_mppc.4
+++ b/share/man/man4/ng_mppc.4
@@ -42,8 +42,8 @@
.Nm ng_mppc
.Nd Microsoft MPPC/MPPE compression and encryption netgraph node type
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netgraph/ng_mppc.h>
+.In sys/types.h
+.In netgraph/ng_mppc.h
.Sh DESCRIPTION
The
.Nm mppc
diff --git a/share/man/man4/ng_one2many.4 b/share/man/man4/ng_one2many.4
index 2eca160a69ad..ff3c723a2feb 100644
--- a/share/man/man4/ng_one2many.4
+++ b/share/man/man4/ng_one2many.4
@@ -41,8 +41,8 @@
.Nm ng_one2many
.Nd packet multiplexing netgraph node type
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <netgraph/ng_one2many.h>
+.In sys/types.h
+.In netgraph/ng_one2many.h
.Sh DESCRIPTION
The
.Nm one2many
diff --git a/share/man/man4/ng_ppp.4 b/share/man/man4/ng_ppp.4
index ca4cdf226124..677c1d28e3f0 100644
--- a/share/man/man4/ng_ppp.4
+++ b/share/man/man4/ng_ppp.4
@@ -42,7 +42,7 @@
.Nm ng_ppp
.Nd PPP protocol netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_ppp.h>
+.In netgraph/ng_ppp.h
.Sh DESCRIPTION
The
.Nm ppp
diff --git a/share/man/man4/ng_pppoe.4 b/share/man/man4/ng_pppoe.4
index 2cfd5cb57084..35d923e4c804 100644
--- a/share/man/man4/ng_pppoe.4
+++ b/share/man/man4/ng_pppoe.4
@@ -42,8 +42,8 @@
.Nm ng_pppoe
.Nd RFC 2516 PPPOE protocol netgraph node type
.Sh SYNOPSIS
-.Fd #include <net/ethernet.h>
-.Fd #include <netgraph/ng_pppoe.h>
+.In net/ethernet.h
+.In netgraph/ng_pppoe.h
.Sh DESCRIPTION
The
.Nm pppoe
diff --git a/share/man/man4/ng_pptpgre.4 b/share/man/man4/ng_pptpgre.4
index 10a9f8110ea3..bcf3b4360269 100644
--- a/share/man/man4/ng_pptpgre.4
+++ b/share/man/man4/ng_pptpgre.4
@@ -42,7 +42,7 @@
.Nm ng_pptpgre
.Nd PPTP GRE protocol netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_pptpgre.h>
+.In netgraph/ng_pptpgre.h
.Sh DESCRIPTION
The
.Nm pptpgre
diff --git a/share/man/man4/ng_rfc1490.4 b/share/man/man4/ng_rfc1490.4
index e0dd7bf534e4..c3f13258c518 100644
--- a/share/man/man4/ng_rfc1490.4
+++ b/share/man/man4/ng_rfc1490.4
@@ -42,7 +42,7 @@
.Nm ng_rfc1490
.Nd RFC 1490 netgraph node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_rfc1490.h>
+.In netgraph/ng_rfc1490.h
.Sh DESCRIPTION
The
.Nm rfc1490
diff --git a/share/man/man4/ng_socket.4 b/share/man/man4/ng_socket.4
index dc53d8856956..6053ff184a60 100644
--- a/share/man/man4/ng_socket.4
+++ b/share/man/man4/ng_socket.4
@@ -42,8 +42,8 @@
.Nm ng_socket
.Nd netgraph socket node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_message.h>
-.Fd #include <netgraph/ng_socket.h>
+.In netgraph/ng_message.h
+.In netgraph/ng_socket.h
.Sh DESCRIPTION
A
.Nm socket
diff --git a/share/man/man4/ng_split.4 b/share/man/man4/ng_split.4
index 5a62944a989b..d0e6ba6f8812 100644
--- a/share/man/man4/ng_split.4
+++ b/share/man/man4/ng_split.4
@@ -41,7 +41,7 @@
.Nm ng_split
.Nd netgraph node to separate incoming and outgoing flows
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_split.h>
+.In netgraph/ng_split.h
.Sh DESCRIPTION
The
.Nm split
diff --git a/share/man/man4/ng_tee.4 b/share/man/man4/ng_tee.4
index 3af948c76294..b327ff9f7b12 100644
--- a/share/man/man4/ng_tee.4
+++ b/share/man/man4/ng_tee.4
@@ -42,7 +42,7 @@
.Nm ng_tee
.Nd netgraph ``tee'' node type
.Sh SYNOPSIS
-.Fd #include <netgraph/ng_tee.h>
+.In netgraph/ng_tee.h
.Sh DESCRIPTION
The
.Nm tee
diff --git a/share/man/man4/ng_tty.4 b/share/man/man4/ng_tty.4
index 98e338916cd0..e0a1bc2534c7 100644
--- a/share/man/man4/ng_tty.4
+++ b/share/man/man4/ng_tty.4
@@ -42,9 +42,9 @@
.Nm ng_tty
.Nd netgraph node type that is also a line discipline
.Sh SYNOPSIS
-.Fd #include <sys/ttycom.h>
-.Fd #include <netgraph/ng_message.h>
-.Fd #include <netgraph/ng_tty.h>
+.In sys/ttycom.h
+.In netgraph/ng_message.h
+.In netgraph/ng_tty.h
.Sh DESCRIPTION
The
.Nm tty
diff --git a/share/man/man4/ng_vjc.4 b/share/man/man4/ng_vjc.4
index dccf64230272..8a7bd1634ba6 100644
--- a/share/man/man4/ng_vjc.4
+++ b/share/man/man4/ng_vjc.4
@@ -42,8 +42,8 @@
.Nm ng_vjc
.Nd Van Jacobson compression netgraph node type
.Sh SYNOPSIS
-.Fd #include <net/slcompress.h>
-.Fd #include <netgraph/ng_vjc.h>
+.In net/slcompress.h
+.In netgraph/ng_vjc.h
.Sh DESCRIPTION
The
.Nm vjc
diff --git a/share/man/man4/ppi.4 b/share/man/man4/ppi.4
index 9f19cfe5e03d..4609bfad9e13 100644
--- a/share/man/man4/ppi.4
+++ b/share/man/man4/ppi.4
@@ -44,8 +44,8 @@ the security problems inherent with the use of the
.Pa /dev/io
interface.
.Sh PROGRAMMING INTERFACE
-.Fd #include <dev/ppbus/ppi.h>
-.Fd #include <dev/ppbus/ppbconf.h>
+.In dev/ppbus/ppi.h
+.In dev/ppbus/ppbconf.h
.Pp
All I/O on the
.Nm
diff --git a/share/man/man4/route.4 b/share/man/man4/route.4
index 15cab83ba8ab..cc9df644e6fb 100644
--- a/share/man/man4/route.4
+++ b/share/man/man4/route.4
@@ -39,11 +39,11 @@
.Nm route
.Nd kernel packet forwarding database
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/time.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/if.h>
-.Fd #include <net/route.h>
+.In sys/types.h
+.In sys/time.h
+.In sys/socket.h
+.In net/if.h
+.In net/route.h
.Ft int
.Fn socket PF_ROUTE SOCK_RAW "int family"
.Sh DESCRIPTION
diff --git a/share/man/man4/snp.4 b/share/man/man4/snp.4
index 8eda3bc81d65..735c2b38d939 100644
--- a/share/man/man4/snp.4
+++ b/share/man/man4/snp.4
@@ -8,7 +8,7 @@
.Nm snp
.Nd tty snoop interface
.Sh SYNOPSIS
-.Fd #include <sys/snoop.h>
+.In sys/snoop.h
.Ft int
.Fn ioctl fd SNPSTTY &dev
.Ft int
diff --git a/share/man/man4/spkr.4 b/share/man/man4/spkr.4
index 6cd8c5579716..fac01f495d3e 100644
--- a/share/man/man4/spkr.4
+++ b/share/man/man4/spkr.4
@@ -10,7 +10,7 @@
.Nd console speaker device driver
.Sh SYNOPSIS
.Cd device speaker
-.Fd #include <machine/speaker.h>
+.In machine/speaker.h
.Sh DESCRIPTION
The speaker device driver allows applications to control the PC console
speaker on an
diff --git a/share/man/man4/sysmouse.4 b/share/man/man4/sysmouse.4
index 6174554a8bb4..e16638d872df 100644
--- a/share/man/man4/sysmouse.4
+++ b/share/man/man4/sysmouse.4
@@ -35,8 +35,8 @@
.\" .Nd supplies mouse data from syscons for other applications
.Nd virtualized mouse driver
.Sh SYNOPSIS
-.Fd #include <sys/mouse.h>
-.Fd #include <sys/consio.h>
+.In sys/mouse.h
+.In sys/consio.h
.Sh DESCRIPTION
The console driver, in conjunction with the mouse daemon
.Xr moused 8 ,
diff --git a/share/man/man4/tcp.4 b/share/man/man4/tcp.4
index c91aac905695..7341f98816b1 100644
--- a/share/man/man4/tcp.4
+++ b/share/man/man4/tcp.4
@@ -39,9 +39,9 @@
.Nm tcp
.Nd Internet Transmission Control Protocol
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
.Ft int
.Fn socket AF_INET SOCK_STREAM 0
.Sh DESCRIPTION
diff --git a/share/man/man4/termios.4 b/share/man/man4/termios.4
index bf121a3f6536..f07726dfcf12 100644
--- a/share/man/man4/termios.4
+++ b/share/man/man4/termios.4
@@ -39,7 +39,7 @@
.Nm termios
.Nd general terminal line discipline
.Sh SYNOPSIS
-.Fd #include <termios.h>
+.In termios.h
.Sh DESCRIPTION
This describes a general terminal line discipline that is
supported on tty asynchronous communication ports.
diff --git a/share/man/man4/ttcp.4 b/share/man/man4/ttcp.4
index 6edc059b0c19..8b624afcb050 100644
--- a/share/man/man4/ttcp.4
+++ b/share/man/man4/ttcp.4
@@ -34,10 +34,10 @@
.Nm ttcp
.Nd Transmission Control Protocol Extensions for Transactions
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
-.Fd #include <netinet/tcp.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
+.In netinet/tcp.h
.Ft int
.Fn setsockopt sock IPPROTO_TCP TCP_NOPUSH &One "sizeof One"
.Ft ssize_t
diff --git a/share/man/man4/tty.4 b/share/man/man4/tty.4
index dde89e18795f..26eb3668aa61 100644
--- a/share/man/man4/tty.4
+++ b/share/man/man4/tty.4
@@ -39,7 +39,7 @@
.Nm tty
.Nd general terminal interface
.Sh SYNOPSIS
-.Fd #include <sys/ioctl.h>
+.In sys/ioctl.h
.Sh DESCRIPTION
This section describes the interface to the terminal drivers
in the system.
diff --git a/share/man/man4/udp.4 b/share/man/man4/udp.4
index 4c8c69e2b3a1..1504a478fb2e 100644
--- a/share/man/man4/udp.4
+++ b/share/man/man4/udp.4
@@ -39,9 +39,9 @@
.Nm udp
.Nd Internet User Datagram Protocol
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <netinet/in.h>
+.In sys/types.h
+.In sys/socket.h
+.In netinet/in.h
.Ft int
.Fn socket AF_INET SOCK_DGRAM 0
.Sh DESCRIPTION
diff --git a/share/man/man5/a.out.5 b/share/man/man5/a.out.5
index 027cf961501b..bea837083423 100644
--- a/share/man/man5/a.out.5
+++ b/share/man/man5/a.out.5
@@ -42,7 +42,7 @@
.Nm a.out
.Nd format of executable binary files
.Sh SYNOPSIS
-.Fd #include <a.out.h>
+.In a.out.h
.Sh DESCRIPTION
The include file
.Aq Pa a.out.h
diff --git a/share/man/man5/acct.5 b/share/man/man5/acct.5
index ad0971df843c..8541081b4cbe 100644
--- a/share/man/man5/acct.5
+++ b/share/man/man5/acct.5
@@ -39,8 +39,8 @@
.Nm acct
.Nd execution accounting file
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/acct.h>
+.In sys/types.h
+.In sys/acct.h
.Sh DESCRIPTION
The kernel maintains the following
.Fa acct
diff --git a/share/man/man5/core.5 b/share/man/man5/core.5
index 34cc8c8d28cd..f31f2c2136d7 100644
--- a/share/man/man5/core.5
+++ b/share/man/man5/core.5
@@ -39,7 +39,7 @@
.Nm core
.Nd memory image file format
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
+.In sys/param.h
.Sh DESCRIPTION
A small number of signals which cause abnormal termination of a process
also cause a record of the process's in-core state to be written
diff --git a/share/man/man5/dir.5 b/share/man/man5/dir.5
index a07240afd657..c8f598c9c6db 100644
--- a/share/man/man5/dir.5
+++ b/share/man/man5/dir.5
@@ -40,7 +40,7 @@
.Nm dirent
.Nd directory file format
.Sh SYNOPSIS
-.Fd #include <dirent.h>
+.In dirent.h
.Sh DESCRIPTION
Directories provide a convenient hierarchical method of grouping
files while obscuring the underlying details of the storage medium.
diff --git a/share/man/man5/disktab.5 b/share/man/man5/disktab.5
index 2fdbe497b1fc..0e82cf29d4f8 100644
--- a/share/man/man5/disktab.5
+++ b/share/man/man5/disktab.5
@@ -39,7 +39,7 @@
.Nm disktab
.Nd disk description file
.Sh SYNOPSIS
-.Fd #include <disktab.h>
+.In disktab.h
.Sh DESCRIPTION
.Nm Disktab
is a simple database which describes disk geometries and
diff --git a/share/man/man5/elf.5 b/share/man/man5/elf.5
index 3ef05eec0fda..1decf5587f1a 100644
--- a/share/man/man5/elf.5
+++ b/share/man/man5/elf.5
@@ -31,7 +31,7 @@
.Nm elf
.Nd format of ELF executable binary files
.Sh SYNOPSIS
-.Fd #include <elf.h>
+.In elf.h
.Sh DESCRIPTION
The header file
.Aq Pa elf.h
diff --git a/share/man/man5/fs.5 b/share/man/man5/fs.5
index f8c5e381a483..9f54eaeca30a 100644
--- a/share/man/man5/fs.5
+++ b/share/man/man5/fs.5
@@ -40,13 +40,13 @@
.Nm inode
.Nd format of file system volume
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <ufs/ffs/fs.h>
+.In sys/param.h
+.In ufs/ffs/fs.h
.Pp
-.Fd #include <sys/types.h>
-.Fd #include <sys/lock.h>
-.Fd #include <ufs/ufs/quota.h>
-.Fd #include <ufs/ufs/inode.h>
+.In sys/types.h
+.In sys/lock.h
+.In ufs/ufs/quota.h
+.In ufs/ufs/inode.h
.Sh DESCRIPTION
The files
.Aq Pa fs.h
diff --git a/share/man/man5/fstab.5 b/share/man/man5/fstab.5
index 2aa625e145e3..754554bde7b9 100644
--- a/share/man/man5/fstab.5
+++ b/share/man/man5/fstab.5
@@ -39,7 +39,7 @@
.Nm fstab
.Nd static information about the filesystems
.Sh SYNOPSIS
-.Fd #include <fstab.h>
+.In fstab.h
.Sh DESCRIPTION
The file
.Nm
diff --git a/share/man/man5/link.5 b/share/man/man5/link.5
index 3f782bb4fd9d..ee9d03927e75 100644
--- a/share/man/man5/link.5
+++ b/share/man/man5/link.5
@@ -35,9 +35,9 @@
.Nm link
.Nd dynamic loader and link editor interface
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <nlist.h>
-.Fd #include <link.h>
+.In sys/types.h
+.In nlist.h
+.In link.h
.Sh DESCRIPTION
The include file
.Aq Pa link.h
diff --git a/share/man/man5/stab.5 b/share/man/man5/stab.5
index 9d718588950b..b2d670eb11cd 100644
--- a/share/man/man5/stab.5
+++ b/share/man/man5/stab.5
@@ -39,7 +39,7 @@
.Nm stab
.Nd symbol table types
.Sh SYNOPSIS
-.Fd #include <stab.h>
+.In stab.h
.Sh DESCRIPTION
The file
.Aq Pa stab.h
diff --git a/share/man/man5/types.5 b/share/man/man5/types.5
index 3827decf7b79..dfa3e8914fe8 100644
--- a/share/man/man5/types.5
+++ b/share/man/man5/types.5
@@ -39,7 +39,7 @@
.Nm types
.Nd system data types
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
+.In sys/types.h
.Sh DESCRIPTION
The file
.Pa sys/types.h
diff --git a/share/man/man5/utmp.5 b/share/man/man5/utmp.5
index 0692a978e039..55ad9b97000c 100644
--- a/share/man/man5/utmp.5
+++ b/share/man/man5/utmp.5
@@ -41,8 +41,8 @@
.Nm lastlog
.Nd login records
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <utmp.h>
+.In sys/types.h
+.In utmp.h
.Sh DESCRIPTION
The file
.Aq Pa utmp.h
diff --git a/share/man/man7/clocks.7 b/share/man/man7/clocks.7
index b88515ea2141..018bbaa20218 100644
--- a/share/man/man7/clocks.7
+++ b/share/man/man7/clocks.7
@@ -34,7 +34,7 @@
.Nm clocks
.Nd various system timers
.Sh SYNOPSIS
-.Fd #include <time.h>
+.In time.h
.Sh DESCRIPTION
.Ql HZ
is not part of the application interface in
diff --git a/share/man/man9/BUS_PRINT_CHILD.9 b/share/man/man9/BUS_PRINT_CHILD.9
index f23cbd1458c2..1f0c5d4d692a 100644
--- a/share/man/man9/BUS_PRINT_CHILD.9
+++ b/share/man/man9/BUS_PRINT_CHILD.9
@@ -35,8 +35,8 @@
.Nm BUS_PRINT_CHILD
.Nd print information about a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn BUS_PRINT_CHILD "device_t dev" "device_t child"
.Sh DESCRIPTION
diff --git a/share/man/man9/BUS_READ_IVAR.9 b/share/man/man9/BUS_READ_IVAR.9
index 3ffc263dd0c0..1fe90eea5f04 100644
--- a/share/man/man9/BUS_READ_IVAR.9
+++ b/share/man/man9/BUS_READ_IVAR.9
@@ -36,8 +36,8 @@
.Nm BUS_WRITE_IVAR
.Nd manipulate bus-specific device instance variables
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn BUS_READ_IVAR "device_t dev" "device_t child" "int index" "uintptr_t *result"
.Ft int
diff --git a/share/man/man9/BUS_SETUP_INTR.9 b/share/man/man9/BUS_SETUP_INTR.9
index c7a3ed9768ce..4a1adb1a84c0 100644
--- a/share/man/man9/BUS_SETUP_INTR.9
+++ b/share/man/man9/BUS_SETUP_INTR.9
@@ -34,8 +34,8 @@
.Nm bus_teardown_intr
.Nd create, attach and teardown an interrupt handler
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn BUS_SETUP_INTR "device_t dev" "device_t child" "struct resource *irq" "int flags" "driver_intr_t *intr" "void *arg" "void **cookiep"
.Ft int
diff --git a/share/man/man9/DECLARE_MODULE.9 b/share/man/man9/DECLARE_MODULE.9
index 7a4759ed459d..2d5ebab3374c 100644
--- a/share/man/man9/DECLARE_MODULE.9
+++ b/share/man/man9/DECLARE_MODULE.9
@@ -35,7 +35,7 @@
.Nm DECLARE_MODULE
.Nd kernel module declaration macro
.Sh SYNOPSIS
-.Fd #include <sys/module.h>
+.In sys/module.h
.Fn DECLARE_MODULE "name" "moduledata_t data" "sub" "order"
.Sh DESCRIPTION
The
diff --git a/share/man/man9/DELAY.9 b/share/man/man9/DELAY.9
index ea83fa41793d..e5e84dddf9b2 100644
--- a/share/man/man9/DELAY.9
+++ b/share/man/man9/DELAY.9
@@ -34,8 +34,8 @@
.Nm DELAY
.Nd busy loop for an interval
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn DELAY "int delay"
.Sh DESCRIPTION
diff --git a/share/man/man9/DEVICE_ATTACH.9 b/share/man/man9/DEVICE_ATTACH.9
index 048cd3df02a0..717e6f985fca 100644
--- a/share/man/man9/DEVICE_ATTACH.9
+++ b/share/man/man9/DEVICE_ATTACH.9
@@ -35,8 +35,8 @@
.Nm DEVICE_ATTACH
.Nd attach a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn DEVICE_ATTACH "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/DEVICE_DETACH.9 b/share/man/man9/DEVICE_DETACH.9
index 175fb1a178f7..11eb61b78ce8 100644
--- a/share/man/man9/DEVICE_DETACH.9
+++ b/share/man/man9/DEVICE_DETACH.9
@@ -35,8 +35,8 @@
.Nm DEVICE_DETACH
.Nd detach a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn DEVICE_DETACH "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/DEVICE_IDENTIFY.9 b/share/man/man9/DEVICE_IDENTIFY.9
index 4981e0403354..d2b8b71dad03 100644
--- a/share/man/man9/DEVICE_IDENTIFY.9
+++ b/share/man/man9/DEVICE_IDENTIFY.9
@@ -35,8 +35,8 @@
.Nm DEVICE_IDENTIFY
.Nd identify a device, register it
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft void
.Fn DEVICE_IDENTIFY "driver_t *driver" "device_t parent"
.Sh DESCRIPTION
diff --git a/share/man/man9/DEVICE_PROBE.9 b/share/man/man9/DEVICE_PROBE.9
index 4cb9e9378d2d..64c5a2da8b5c 100644
--- a/share/man/man9/DEVICE_PROBE.9
+++ b/share/man/man9/DEVICE_PROBE.9
@@ -35,8 +35,8 @@
.Nm DEVICE_PROBE
.Nd probe for device existence
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn DEVICE_PROBE "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/DEVICE_SHUTDOWN.9 b/share/man/man9/DEVICE_SHUTDOWN.9
index c94214f763bb..4718c3aacf0c 100644
--- a/share/man/man9/DEVICE_SHUTDOWN.9
+++ b/share/man/man9/DEVICE_SHUTDOWN.9
@@ -35,8 +35,8 @@
.Nm DEVICE_SHUTDOWN
.Nd called during system shutdown
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn DEVICE_SHUTDOWN "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/DEV_MODULE.9 b/share/man/man9/DEV_MODULE.9
index 4d21db239112..181929e6777d 100644
--- a/share/man/man9/DEV_MODULE.9
+++ b/share/man/man9/DEV_MODULE.9
@@ -35,8 +35,8 @@
.Nm DEV_MODULE
.Nd device driver module declaration macro
.Sh SYNOPSIS
-.Fd #include <sys/module.h>
-.Fd #include <sys/conf.h>
+.In sys/module.h
+.In sys/conf.h
.Fn DEV_MODULE "name" "modeventhand_t evh" "void *arg"
.Sh DESCRIPTION
The
diff --git a/share/man/man9/DRIVER_MODULE.9 b/share/man/man9/DRIVER_MODULE.9
index d8b9626e8036..e57844084107 100644
--- a/share/man/man9/DRIVER_MODULE.9
+++ b/share/man/man9/DRIVER_MODULE.9
@@ -35,9 +35,9 @@
.Nm DRIVER_MODULE
.Nd kernel driver declaration macro
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/bus.h>
-.Fd #include <sys/module.h>
+.In sys/types.h
+.In sys/bus.h
+.In sys/module.h
.Fn DRIVER_MODULE name busname "driver_t driver" "devclass_t devclass" "modeventhand_t evh" "void *arg"
.Fn MULTI_DRIVER_MODULE name busname "driver_t drivers[]" "devclass_t devclass" "modeventhand_t evh" "void *arg"
.Sh DESCRIPTION
diff --git a/share/man/man9/MD5.9 b/share/man/man9/MD5.9
index 2f15a78b0058..d59852072b8e 100644
--- a/share/man/man9/MD5.9
+++ b/share/man/man9/MD5.9
@@ -39,8 +39,8 @@
.Nm MD5Transform
.Nd message digest routines
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/md5.h>
+.In sys/types.h
+.In sys/md5.h
.Ft void
.Fn MD5Init "MD5_CTX *buf"
.Ft void
diff --git a/share/man/man9/MODULE_DEPEND.9 b/share/man/man9/MODULE_DEPEND.9
index b1758436be43..cd798a96e5cc 100644
--- a/share/man/man9/MODULE_DEPEND.9
+++ b/share/man/man9/MODULE_DEPEND.9
@@ -35,7 +35,7 @@
.Nm MODULE_DEPEND
.Nd set kernel module dependencies
.Sh SYNOPSIS
-.Fd #include <sys/module.h>
+.In sys/module.h
.Fn MODULE_DEPEND "name" "moddepend" "int minversion" "int prefversion" "int maxversion"
.Sh DESCRIPTION
The
diff --git a/share/man/man9/MODULE_VERSION.9 b/share/man/man9/MODULE_VERSION.9
index 72269d029508..eefb3e5f6554 100644
--- a/share/man/man9/MODULE_VERSION.9
+++ b/share/man/man9/MODULE_VERSION.9
@@ -35,7 +35,7 @@
.Nm MODULE_VERSION
.Nd set kernel module version
.Sh SYNOPSIS
-.Fd #include <sys/module.h>
+.In sys/module.h
.Fn MODULE_VERSION "name" "int version"
.Sh DESCRIPTION
The
diff --git a/share/man/man9/SYSCALL_MODULE.9 b/share/man/man9/SYSCALL_MODULE.9
index 8e72201e7ee8..426588489af3 100644
--- a/share/man/man9/SYSCALL_MODULE.9
+++ b/share/man/man9/SYSCALL_MODULE.9
@@ -35,9 +35,9 @@
.Nm SYSCALL_MODULE
.Nd syscall kernel module declaration macro
.Sh SYNOPSIS
-.Fd #include <sys/proc.h>
-.Fd #include <sys/module.h>
-.Fd #include <sys/sysent.h>
+.In sys/proc.h
+.In sys/module.h
+.In sys/sysent.h
.Fn SYSCALL_MODULE name "int *offset" "struct sysent new_sysent" "modeventhand_t evh" "void *arg"
.Sh DESCRIPTION
The
diff --git a/share/man/man9/VFS_CHECKEXP.9 b/share/man/man9/VFS_CHECKEXP.9
index 184d7e1125a1..502f4aa71f29 100644
--- a/share/man/man9/VFS_CHECKEXP.9
+++ b/share/man/man9/VFS_CHECKEXP.9
@@ -31,8 +31,8 @@
.Nm VFS_CHECKEXP
.Nd check if a filesystem is exported to a client
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
+.In sys/param.h
+.In sys/mount.h
.Ft int
.Fn VFS_CHECKEXP "struct mount *mp" "struct sockaddr *nam" "int *exflagsp" "struct ucred **credanonp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_FHTOVP.9 b/share/man/man9/VFS_FHTOVP.9
index 1f9e2848312a..5eb586797e08 100644
--- a/share/man/man9/VFS_FHTOVP.9
+++ b/share/man/man9/VFS_FHTOVP.9
@@ -35,9 +35,9 @@
.Nm VFS_FHTOVP
.Nd turn an NFS filehandle into a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_FHTOVP "struct mount *mp" "struct fid *fhp" "struct vnode **vpp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_INIT.9 b/share/man/man9/VFS_INIT.9
index 3381e136c608..cadfe1ccf6bd 100644
--- a/share/man/man9/VFS_INIT.9
+++ b/share/man/man9/VFS_INIT.9
@@ -35,9 +35,9 @@
.Nm VFS_INIT
.Nd initialize a filesystem
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_INIT
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_MOUNT.9 b/share/man/man9/VFS_MOUNT.9
index 575622809100..44712ce06f3b 100644
--- a/share/man/man9/VFS_MOUNT.9
+++ b/share/man/man9/VFS_MOUNT.9
@@ -35,9 +35,9 @@
.Nm VFS_MOUNT
.Nd mount a filesystem
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_MOUNT "struct mount *mp" "char *path" "caddr_t data" "struct nameidata *ndp" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_QUOTACTL.9 b/share/man/man9/VFS_QUOTACTL.9
index 006e622dd98a..117673018d3b 100644
--- a/share/man/man9/VFS_QUOTACTL.9
+++ b/share/man/man9/VFS_QUOTACTL.9
@@ -35,9 +35,9 @@
.Nm VFS_QUOTACTL
.Nd manipulate filesystem quotas
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_QUOTACTL "struct mount *mp" "int cmds" "uid_t uid" "caddr_t arg" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_ROOT.9 b/share/man/man9/VFS_ROOT.9
index 9c633ce6e44a..a4fc77c27b31 100644
--- a/share/man/man9/VFS_ROOT.9
+++ b/share/man/man9/VFS_ROOT.9
@@ -35,9 +35,9 @@
.Nm VFS_ROOT
.Nd return the root vnode of a filesystem
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_ROOT "struct mount *mp" "struct vnode **vpp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_START.9 b/share/man/man9/VFS_START.9
index c327c82dbdd0..58e94f830481 100644
--- a/share/man/man9/VFS_START.9
+++ b/share/man/man9/VFS_START.9
@@ -35,9 +35,9 @@
.Nm VFS_START
.Nd make a filesystem operational
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_START "struct mount *mp" "int flags" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_STATFS.9 b/share/man/man9/VFS_STATFS.9
index 61b9787bb282..2e250fbb6283 100644
--- a/share/man/man9/VFS_STATFS.9
+++ b/share/man/man9/VFS_STATFS.9
@@ -35,9 +35,9 @@
.Nm VFS_STATFS
.Nd return filesystem status
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_STATFS "struct mount *mp" "struct statfs *sbp" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_SYNC.9 b/share/man/man9/VFS_SYNC.9
index d41baa4efb28..81a20d005b1f 100644
--- a/share/man/man9/VFS_SYNC.9
+++ b/share/man/man9/VFS_SYNC.9
@@ -35,9 +35,9 @@
.Nm VFS_SYNC
.Nd flush unwritten data
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_SYNC "struct mount *mp" "int waitfor" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_UNMOUNT.9 b/share/man/man9/VFS_UNMOUNT.9
index 03fb7f3d95aa..a7bd5606ce95 100644
--- a/share/man/man9/VFS_UNMOUNT.9
+++ b/share/man/man9/VFS_UNMOUNT.9
@@ -35,9 +35,9 @@
.Nm VFS_UNMOUNT
.Nd unmount a filesystem
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_UNMOUNT "struct mount *mp" "int mntflags" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_VGET.9 b/share/man/man9/VFS_VGET.9
index 12e5e3cf6a80..b9af8b78047b 100644
--- a/share/man/man9/VFS_VGET.9
+++ b/share/man/man9/VFS_VGET.9
@@ -35,9 +35,9 @@
.Nm VFS_VGET
.Nd convert an inode number to a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_VGET "struct mount *mp" "ino_t ino" "struct vnode **vpp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VFS_VPTOFH.9 b/share/man/man9/VFS_VPTOFH.9
index ade15c061fe5..676e2309e9b1 100644
--- a/share/man/man9/VFS_VPTOFH.9
+++ b/share/man/man9/VFS_VPTOFH.9
@@ -35,9 +35,9 @@
.Nm VFS_VPTOFH
.Nd turn a vnode into an NFS filehandle
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_VPTOFH "struct vnode *vp" "struct fid *fhp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_ACCESS.9 b/share/man/man9/VOP_ACCESS.9
index d6448582deb2..b38f18d71837 100644
--- a/share/man/man9/VOP_ACCESS.9
+++ b/share/man/man9/VOP_ACCESS.9
@@ -36,8 +36,8 @@
.Nm VOP_ACCESS
.Nd "check access permissions of a file or Unix domain socket"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_ACCESS "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_ACLCHECK.9 b/share/man/man9/VOP_ACLCHECK.9
index 9d1c58d7f173..e7473b30c5cc 100644
--- a/share/man/man9/VOP_ACLCHECK.9
+++ b/share/man/man9/VOP_ACLCHECK.9
@@ -32,9 +32,9 @@
.Nm VOP_ACLCHECK
.Nd check an access control list for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/acl.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/acl.h
.Ft int
.Fn VOP_ACLCHECK "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_ADVLOCK.9 b/share/man/man9/VOP_ADVLOCK.9
index f0c06fb51f99..e4026366675d 100644
--- a/share/man/man9/VOP_ADVLOCK.9
+++ b/share/man/man9/VOP_ADVLOCK.9
@@ -35,10 +35,10 @@
.Nm VOP_ADVLOCK
.Nd advisory record locking
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/fcntl.h>
-.Fd #include <sys/lockf.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/fcntl.h
+.In sys/lockf.h
.Ft int
.Fn VOP_ADVLOCK "struct vnode *vp" "caddr_t id" "int op" "struct flock *fl" "int flags"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_ATTRIB.9 b/share/man/man9/VOP_ATTRIB.9
index 5f6ca19e7965..f5477ff3d59c 100644
--- a/share/man/man9/VOP_ATTRIB.9
+++ b/share/man/man9/VOP_ATTRIB.9
@@ -36,8 +36,8 @@
.Nm VOP_SETATTR
.Nd get and set attributes on a file or directory
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_GETATTR "struct vnode *vp" "struct vattr *vap" "struct ucred *cred" "struct proc *p"
.Ft int
diff --git a/share/man/man9/VOP_BWRITE.9 b/share/man/man9/VOP_BWRITE.9
index 150e4a1ea4e0..c758b5950223 100644
--- a/share/man/man9/VOP_BWRITE.9
+++ b/share/man/man9/VOP_BWRITE.9
@@ -35,8 +35,8 @@
.Nm VOP_BWRITE
.Nd write a filesystem buffer
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_BWRITE "struct vnode *vp" "struct buf *bp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_CREATE.9 b/share/man/man9/VOP_CREATE.9
index ae8d3c0ebec8..026d9949332f 100644
--- a/share/man/man9/VOP_CREATE.9
+++ b/share/man/man9/VOP_CREATE.9
@@ -38,9 +38,9 @@
.Nm VOP_SYMLINK
.Nd create a file, socket, fifo, device, directory or symlink
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/namei.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/namei.h
.Ft int
.Fn VOP_CREATE "struct vnode *dvp" "struct vnode **vpp" "struct componentname *cnp" "struct vattr *vap"
.Ft int
diff --git a/share/man/man9/VOP_FSYNC.9 b/share/man/man9/VOP_FSYNC.9
index 298ea99d0b8d..3319d74d4df2 100644
--- a/share/man/man9/VOP_FSYNC.9
+++ b/share/man/man9/VOP_FSYNC.9
@@ -35,8 +35,8 @@
.Nm VOP_FSYNC
.Nd flush filesystem buffers for a file
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_FSYNC "struct vnode *vp" "struct ucred *cred" "int waitfor" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_GETACL.9 b/share/man/man9/VOP_GETACL.9
index af52fe1111de..8816cf5f3761 100644
--- a/share/man/man9/VOP_GETACL.9
+++ b/share/man/man9/VOP_GETACL.9
@@ -32,9 +32,9 @@
.Nm VOP_GETACL
.Nd retrieve access control list for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/acl.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/acl.h
.Ft int
.Fn VOP_GETACL "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_GETEXTATTR.9 b/share/man/man9/VOP_GETEXTATTR.9
index d2ffb6fa567f..5aaea1640b42 100644
--- a/share/man/man9/VOP_GETEXTATTR.9
+++ b/share/man/man9/VOP_GETEXTATTR.9
@@ -32,9 +32,9 @@
.Nm VOP_GETEXTATTR
.Nd retrieve named extended attribute from a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/extattr.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/extattr.h
.Ft int
.Fn VOP_GETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_GETPAGES.9 b/share/man/man9/VOP_GETPAGES.9
index f42a710da074..2fb05f07f7d7 100644
--- a/share/man/man9/VOP_GETPAGES.9
+++ b/share/man/man9/VOP_GETPAGES.9
@@ -36,9 +36,9 @@
.Nm VOP_PUTPAGES
.Nd read or write VM pages from a file
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <vm/vm.h>
+.In sys/param.h
+.In sys/vnode.h
+.In vm/vm.h
.Ft int
.Fn VOP_GETPAGES "struct vnode *vp" "vm_page_t *m" "int count" "int reqpage" "vm_ooffset_t offset"
.Ft int
diff --git a/share/man/man9/VOP_GETVOBJECT.9 b/share/man/man9/VOP_GETVOBJECT.9
index 09080d284f2f..9c387cda135e 100644
--- a/share/man/man9/VOP_GETVOBJECT.9
+++ b/share/man/man9/VOP_GETVOBJECT.9
@@ -33,8 +33,8 @@
.Nm VOP_GETVOBJECT
.Nd VM object interaction
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_CREATEVOBJECT "struct vnode *vp" "struct ucred *cred" "struct proc *p"
.Ft int
diff --git a/share/man/man9/VOP_INACTIVE.9 b/share/man/man9/VOP_INACTIVE.9
index 2401ffb5b0e4..fa2528df84e5 100644
--- a/share/man/man9/VOP_INACTIVE.9
+++ b/share/man/man9/VOP_INACTIVE.9
@@ -36,8 +36,8 @@
.Nm VOP_RECLAIM
.Nd reclaim filesystem resources for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_INACTIVE "struct vnode *vp" "struct proc *p"
.Ft int
diff --git a/share/man/man9/VOP_IOCTL.9 b/share/man/man9/VOP_IOCTL.9
index c22e2acf8daf..444843b3d907 100644
--- a/share/man/man9/VOP_IOCTL.9
+++ b/share/man/man9/VOP_IOCTL.9
@@ -35,8 +35,8 @@
.Nm VOP_IOCTL
.Nd device specific control
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_IOCTL "struct vnode *vp" "u_long command" "caddr_t data" "int fflag" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_LEASE.9 b/share/man/man9/VOP_LEASE.9
index 6c14f3179388..315656d1cd04 100644
--- a/share/man/man9/VOP_LEASE.9
+++ b/share/man/man9/VOP_LEASE.9
@@ -35,8 +35,8 @@
.Nm VOP_LEASE
.Nd "validate a vnode for a particular set of credentials and operation type"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
+.In sys/param.h
+.In sys/mount.h
.Ft int
.Fn VOP_LEASE "struct vnode *vp" "struct proc *p" "struct ucred *cred" "int type"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_LINK.9 b/share/man/man9/VOP_LINK.9
index 0a1d89c77fab..60491b379885 100644
--- a/share/man/man9/VOP_LINK.9
+++ b/share/man/man9/VOP_LINK.9
@@ -35,8 +35,8 @@
.Nm VOP_LINK
.Nd create a new name for a file
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_LINK "struct vnode *dvp" "struct vnode *vp" "struct componentname *cnp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_LOCK.9 b/share/man/man9/VOP_LOCK.9
index fc61c37361e0..5fe2f9fe4e17 100644
--- a/share/man/man9/VOP_LOCK.9
+++ b/share/man/man9/VOP_LOCK.9
@@ -38,9 +38,9 @@
.Nm vn_lock
.Nd serialize access to a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/lock.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/lock.h
+.In sys/vnode.h
.Ft int
.Fn VOP_LOCK "struct vnode *vp" "int flags" "struct proc *p"
.Ft int
diff --git a/share/man/man9/VOP_LOOKUP.9 b/share/man/man9/VOP_LOOKUP.9
index 47565d5de409..d6c6c9e5744c 100644
--- a/share/man/man9/VOP_LOOKUP.9
+++ b/share/man/man9/VOP_LOOKUP.9
@@ -35,9 +35,9 @@
.Nm VOP_LOOKUP
.Nd lookup a component of a pathname
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/namei.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/namei.h
.Ft int
.Fn VOP_LOOKUP "struct vnode *dvp" "struct vnode **vpp" "struct componentname *cnp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_OPENCLOSE.9 b/share/man/man9/VOP_OPENCLOSE.9
index 831af83c428b..07606676cf1e 100644
--- a/share/man/man9/VOP_OPENCLOSE.9
+++ b/share/man/man9/VOP_OPENCLOSE.9
@@ -36,8 +36,8 @@
.Nm VOP_CLOSE
.Nd open or close a file
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_OPEN "struct vnode *vp" "int mode" "struct ucred *cred" "struct proc *p"
.Ft int
diff --git a/share/man/man9/VOP_PATHCONF.9 b/share/man/man9/VOP_PATHCONF.9
index bf6febec7c7b..04567b80d779 100644
--- a/share/man/man9/VOP_PATHCONF.9
+++ b/share/man/man9/VOP_PATHCONF.9
@@ -35,9 +35,9 @@
.Nm VOP_PATHCONF
.Nd return POSIX pathconf information
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/unistd.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/unistd.h
.Ft int
.Fn VOP_PATHCONF "struct vnode *vp" "int name" "int *retval"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_PRINT.9 b/share/man/man9/VOP_PRINT.9
index 5eed8543ba85..80cf12ce4820 100644
--- a/share/man/man9/VOP_PRINT.9
+++ b/share/man/man9/VOP_PRINT.9
@@ -35,8 +35,8 @@
.Nm VOP_PRINT
.Nd print debugging information
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_PRINT "struct vnode *vp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_RDWR.9 b/share/man/man9/VOP_RDWR.9
index 7b4ca87f753b..545fd57eaf90 100644
--- a/share/man/man9/VOP_RDWR.9
+++ b/share/man/man9/VOP_RDWR.9
@@ -36,9 +36,9 @@
.Nm VOP_WRITE
.Nd read or write a file
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/uio.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/uio.h
.Ft int
.Fn VOP_READ "struct vnode *vp" "struct uio *uio" "int ioflag" "struct ucred *cred"
.Ft int
diff --git a/share/man/man9/VOP_READDIR.9 b/share/man/man9/VOP_READDIR.9
index 11a4ce0d56d5..dcbf18c28c82 100644
--- a/share/man/man9/VOP_READDIR.9
+++ b/share/man/man9/VOP_READDIR.9
@@ -35,9 +35,9 @@
.Nm VOP_READDIR
.Nd read contents of a directory
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/dirent.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/dirent.h
+.In sys/vnode.h
.Ft int
.Fn VOP_READDIR "struct vnode *vp" "struct uio *uio" "struct ucred *cred" "int *eofflag" "int *ncookies" "u_long **cookies"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_READLINK.9 b/share/man/man9/VOP_READLINK.9
index 08d847afb60a..36e0b2c553d5 100644
--- a/share/man/man9/VOP_READLINK.9
+++ b/share/man/man9/VOP_READLINK.9
@@ -35,9 +35,9 @@
.Nm VOP_READLINK
.Nd read the target of a symbolic link
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/uio.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/uio.h
.Ft int
.Fn VOP_READLINK "struct vnode *vp" "struct uio *uio" "struct ucred *cred"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_REALLOCBLKS.9 b/share/man/man9/VOP_REALLOCBLKS.9
index c7cfd0a584c8..c1f2a7f65a1f 100644
--- a/share/man/man9/VOP_REALLOCBLKS.9
+++ b/share/man/man9/VOP_REALLOCBLKS.9
@@ -35,8 +35,8 @@
.Nm VOP_REALLOCBLKS
.Nd rearrange blocks in a file to be contiguous
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_REALLOCBLKS "struct vnode *vp" "struct cluster_save *buflist"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_REMOVE.9 b/share/man/man9/VOP_REMOVE.9
index 4826825a31a5..483ad695c31d 100644
--- a/share/man/man9/VOP_REMOVE.9
+++ b/share/man/man9/VOP_REMOVE.9
@@ -36,8 +36,8 @@
.Nm VOP_RMDIR
.Nd remove a file or directory
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_REMOVE "struct vnode *dvp" "struct vnode *vp" "struct componentname *cnp"
.Ft int
diff --git a/share/man/man9/VOP_RENAME.9 b/share/man/man9/VOP_RENAME.9
index e12bd98301f5..5fca6551997b 100644
--- a/share/man/man9/VOP_RENAME.9
+++ b/share/man/man9/VOP_RENAME.9
@@ -35,8 +35,8 @@
.Nm VOP_RENAME
.Nd rename a file
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_RENAME "struct vnode *fdvp" "struct vnode *fvp" "struct componentname *fcnp" "struct vnode *tdvp" "struct vnode *tvp" "struct componentname *tcnp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_SETACL.9 b/share/man/man9/VOP_SETACL.9
index e8d724ed3cef..cf67dd4e4c0f 100644
--- a/share/man/man9/VOP_SETACL.9
+++ b/share/man/man9/VOP_SETACL.9
@@ -32,9 +32,9 @@
.Nm VOP_SETACL
.Nd set the access control list for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/acl.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/acl.h
.Ft int
.Fn VOP_SETACL "struct vnode *vp" "acl_type_t type" "struct acl *aclp" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_SETEXTATTR.9 b/share/man/man9/VOP_SETEXTATTR.9
index 3c69b145387f..4826747f41da 100644
--- a/share/man/man9/VOP_SETEXTATTR.9
+++ b/share/man/man9/VOP_SETEXTATTR.9
@@ -32,9 +32,9 @@
.Nm VOP_SETEXTATTR
.Nd set named extended attribute for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/extattr.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/extattr.h
.Ft int
.Fn VOP_SETEXTATTR "struct vnode *vp" "int attrnamespace" "const char *name" "struct uio *uio" "struct ucred *cred" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_STRATEGY.9 b/share/man/man9/VOP_STRATEGY.9
index f15d665d58e9..d020d1581588 100644
--- a/share/man/man9/VOP_STRATEGY.9
+++ b/share/man/man9/VOP_STRATEGY.9
@@ -35,8 +35,8 @@
.Nm VOP_STRATEGY
.Nd read or write a filesystem buffer
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn VOP_STRATEGY "struct vnode *vp" "struct buf *bp"
.Sh DESCRIPTION
diff --git a/share/man/man9/VOP_VPTOFH.9 b/share/man/man9/VOP_VPTOFH.9
index ade15c061fe5..676e2309e9b1 100644
--- a/share/man/man9/VOP_VPTOFH.9
+++ b/share/man/man9/VOP_VPTOFH.9
@@ -35,9 +35,9 @@
.Nm VFS_VPTOFH
.Nd turn a vnode into an NFS filehandle
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mount.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/mount.h
+.In sys/vnode.h
.Ft int
.Fn VFS_VPTOFH "struct vnode *vp" "struct fid *fhp"
.Sh DESCRIPTION
diff --git a/share/man/man9/accept_filter.9 b/share/man/man9/accept_filter.9
index 8cf629650a6d..80bd4e3a874f 100644
--- a/share/man/man9/accept_filter.9
+++ b/share/man/man9/accept_filter.9
@@ -36,11 +36,11 @@
.Nm accept_filt_get
.Nd filter incoming connections
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/module.h>
-.Fd #include <sys/socket.h>
+.In sys/types.h
+.In sys/module.h
+.In sys/socket.h
.Fd #define ACCEPT_FILTER_MOD
-.Fd #include <sys/socketvar.h>
+.In sys/socketvar.h
.Ft int
.Fn accept_filt_add "struct accept_filter *filt"
.Ft int
diff --git a/share/man/man9/acl.9 b/share/man/man9/acl.9
index 2cdd83af2c05..cab533ac7210 100644
--- a/share/man/man9/acl.9
+++ b/share/man/man9/acl.9
@@ -32,9 +32,9 @@
.Nm acl
.Nd virtual file system access control lists
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/acl.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/acl.h
.Pp
.Bd -literal
typedef int acl_type_t;
diff --git a/share/man/man9/at_exit.9 b/share/man/man9/at_exit.9
index 414e0459f948..254c6e19fe14 100644
--- a/share/man/man9/at_exit.9
+++ b/share/man/man9/at_exit.9
@@ -33,8 +33,8 @@
.Nm rm_at_exit
.Nd ask that a function be run at exit
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft typedef\ void ( exitlist_fn ) ( struct\ proc\ * ) ;
.Pp
.Ft int
diff --git a/share/man/man9/at_fork.9 b/share/man/man9/at_fork.9
index c9b87e0f60a8..98cdd2017133 100644
--- a/share/man/man9/at_fork.9
+++ b/share/man/man9/at_fork.9
@@ -33,8 +33,8 @@
.Nm rm_at_fork
.Nd ask that a function be run at fork
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft "typedef void" ( *forklist_fn )
.Fa ( "struct proc*" , "struct proc*" , int ) ;
.Pp
diff --git a/share/man/man9/atomic.9 b/share/man/man9/atomic.9
index d1fa820c12f0..b521bb431f8a 100644
--- a/share/man/man9/atomic.9
+++ b/share/man/man9/atomic.9
@@ -37,8 +37,8 @@
.Nm atomic_store
.Nd atomic operations
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <machine/atomic.h>
+.In sys/types.h
+.In machine/atomic.h
.Ft void
.Fn atomic_add_{acq_,rel_,}<type> "volatile <type> *p" "<type> v"
.Ft void
diff --git a/share/man/man9/bios.9 b/share/man/man9/bios.9
index cc7e452c30cf..31afef7aac29 100644
--- a/share/man/man9/bios.9
+++ b/share/man/man9/bios.9
@@ -33,8 +33,8 @@
.Nm bios32
.Nd interact with PC BIOS
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <machine/pc/bios.h>
+.In sys/types.h
+.In machine/pc/bios.h
.Ft u_int32_t
.Fn bios_sigsearch "u_int32_t start" "u_char *sig" "int siglen" "int paralen" "int sigofs"
.Ft int
diff --git a/share/man/man9/boot.9 b/share/man/man9/boot.9
index b7d5ae11408d..1dfefb0fbbcf 100644
--- a/share/man/man9/boot.9
+++ b/share/man/man9/boot.9
@@ -41,9 +41,9 @@
.Nm boot
.Nd halt or reboot the system
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
-.Fd #include <sys/reboot.h>
+.In sys/types.h
+.In sys/systm.h
+.In sys/reboot.h
.Ft void
.Fn boot "int howto"
.Sh DESCRIPTION
diff --git a/share/man/man9/bus_alloc_resource.9 b/share/man/man9/bus_alloc_resource.9
index 00ff890372cd..9d862dfa5073 100644
--- a/share/man/man9/bus_alloc_resource.9
+++ b/share/man/man9/bus_alloc_resource.9
@@ -35,12 +35,12 @@
.Nm bus_alloc_resource
.Nd alloc resources on a bus
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Pp
-.Fd #include <machine/bus.h>
-.Fd #include <sys/rman.h>
-.Fd #include <machine/resource.h>
+.In machine/bus.h
+.In sys/rman.h
+.In machine/resource.h
.Ft struct resource *
.Fn bus_alloc_resource "device_t dev" "int type" "int *rid" "u_long start" "u_long end" "u_long count" "u_int flags"
.Sh DESCRIPTION
diff --git a/share/man/man9/bus_generic_attach.9 b/share/man/man9/bus_generic_attach.9
index 99569accafb7..5b2b205f78bb 100644
--- a/share/man/man9/bus_generic_attach.9
+++ b/share/man/man9/bus_generic_attach.9
@@ -37,8 +37,8 @@
.Dv DEVICE_ATTACH
for busses
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn bus_generic_attach "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/bus_generic_detach.9 b/share/man/man9/bus_generic_detach.9
index 5703f4a5f9f8..76ce99d16320 100644
--- a/share/man/man9/bus_generic_detach.9
+++ b/share/man/man9/bus_generic_detach.9
@@ -37,8 +37,8 @@
.Dv DEVICE_DETACH
for busses
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn bus_generic_detach "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/bus_generic_map_intr.9 b/share/man/man9/bus_generic_map_intr.9
index a6bcc41c196a..d20cc4c88010 100644
--- a/share/man/man9/bus_generic_map_intr.9
+++ b/share/man/man9/bus_generic_map_intr.9
@@ -37,8 +37,8 @@
.Dv BUS_MAP_INTR
for busses
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn bus_generic_map_intr "device_t dev" "device_t child" "driver_intr_t *intr" "void *arg"
.Sh DESCRIPTION
diff --git a/share/man/man9/bus_generic_print_child.9 b/share/man/man9/bus_generic_print_child.9
index b94cd7bb1789..ae7780d933c6 100644
--- a/share/man/man9/bus_generic_print_child.9
+++ b/share/man/man9/bus_generic_print_child.9
@@ -37,8 +37,8 @@
.Dv DEVICE_PRINT_CHILD
for busses
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn bus_generic_print_child "device_t dev" "device_t child"
.Sh DESCRIPTION
diff --git a/share/man/man9/bus_generic_read_ivar.9 b/share/man/man9/bus_generic_read_ivar.9
index a6ecf3c5a3f4..100bdb0452bf 100644
--- a/share/man/man9/bus_generic_read_ivar.9
+++ b/share/man/man9/bus_generic_read_ivar.9
@@ -40,8 +40,8 @@ and
.Dv BUS_WRITE_IVAR
for busses
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn bus_generic_read_ivar "device_t dev" "device_t child" "int index" "uintptr_t *result"
.Ft int
diff --git a/share/man/man9/bus_generic_shutdown.9 b/share/man/man9/bus_generic_shutdown.9
index 85c9f087c06f..d439ce5b5ac1 100644
--- a/share/man/man9/bus_generic_shutdown.9
+++ b/share/man/man9/bus_generic_shutdown.9
@@ -37,8 +37,8 @@
.Dv DEVICE_SHUTDOWN
for busses
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn bus_generic_shutdown "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/bus_release_resource.9 b/share/man/man9/bus_release_resource.9
index 1037b2360699..cf0afa00a4cd 100644
--- a/share/man/man9/bus_release_resource.9
+++ b/share/man/man9/bus_release_resource.9
@@ -35,12 +35,12 @@
.Nm bus_release_resource
.Nd release resources on a bus
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Pp
-.Fd #include <machine/bus.h>
-.Fd #include <sys/rman.h>
-.Fd #include <machine/resource.h>
+.In machine/bus.h
+.In sys/rman.h
+.In machine/resource.h
.Ft int
.Fn bus_release_resource "device_t dev" "int type" "int rid" "struct resource *r"
.Sh DESCRIPTION
diff --git a/share/man/man9/condvar.9 b/share/man/man9/condvar.9
index 9b794aa7e238..f6a03653db77 100644
--- a/share/man/man9/condvar.9
+++ b/share/man/man9/condvar.9
@@ -44,7 +44,7 @@
.Nm cv_wmesg
.Nd kernel condition variable
.Sh SYNOPSIS
-.Fd #include <sys/condvar.h>
+.In sys/condvar.h
.Ft void
.Fn cv_init "struct cv *cvp" "const char *desc"
.Ft void
diff --git a/share/man/man9/copy.9 b/share/man/man9/copy.9
index a1230d464258..c82a26856e75 100644
--- a/share/man/man9/copy.9
+++ b/share/man/man9/copy.9
@@ -45,8 +45,8 @@
.Nm copyinstr
.Nd kernel copy functions
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft int
.Fn copyin "const void *uaddr" "void *kaddr" "size_t len"
.Ft int
diff --git a/share/man/man9/critical_enter.9 b/share/man/man9/critical_enter.9
index 2511aa1a2960..3d75e4655d60 100644
--- a/share/man/man9/critical_enter.9
+++ b/share/man/man9/critical_enter.9
@@ -32,8 +32,8 @@
.Nm critical_exit
.Nd enter and exit a critical region
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft critical_t
.Fn critical_enter "void"
.Ft void
diff --git a/share/man/man9/devclass_add_driver.9 b/share/man/man9/devclass_add_driver.9
index e78132c0d8e1..83b7cc2f0476 100644
--- a/share/man/man9/devclass_add_driver.9
+++ b/share/man/man9/devclass_add_driver.9
@@ -37,8 +37,8 @@
.Nm devclass_find_driver
.Nd manipulate the drivers in a devclass
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn devclass_add_driver "devclass_t dc" "driver_t *driver"
.Ft int
diff --git a/share/man/man9/devclass_find.9 b/share/man/man9/devclass_find.9
index b097aaee2d27..7f02e4787d58 100644
--- a/share/man/man9/devclass_find.9
+++ b/share/man/man9/devclass_find.9
@@ -35,8 +35,8 @@
.Nm devclass_find
.Nd search for a devclass
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft devclass_t
.Fn devclass_find "const char *classname"
.Sh DESCRIPTION
diff --git a/share/man/man9/devclass_get_device.9 b/share/man/man9/devclass_get_device.9
index a95f3c096be8..54eafb932732 100644
--- a/share/man/man9/devclass_get_device.9
+++ b/share/man/man9/devclass_get_device.9
@@ -35,8 +35,8 @@
.Nm devclass_get_device
.Nd translate unit number to device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft device_t
.Fn devclass_get_device "devclass_t dc" "int unit"
.Sh DESCRIPTION
diff --git a/share/man/man9/devclass_get_devices.9 b/share/man/man9/devclass_get_devices.9
index a5dc4452923a..2872adcf87b2 100644
--- a/share/man/man9/devclass_get_devices.9
+++ b/share/man/man9/devclass_get_devices.9
@@ -35,8 +35,8 @@
.Nm devclass_get_devices
.Nd get a list of devices in a devclass
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn devclass_get_devices "devclass_t dc" "device_t **devlistp" "int *devcountp"
.Sh DESCRIPTION
diff --git a/share/man/man9/devclass_get_maxunit.9 b/share/man/man9/devclass_get_maxunit.9
index 6a66c3c4ec6c..75fb90fa0757 100644
--- a/share/man/man9/devclass_get_maxunit.9
+++ b/share/man/man9/devclass_get_maxunit.9
@@ -35,8 +35,8 @@
.Nm devclass_get_maxunit
.Nd find the maximum unit number in the class
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn devclass_get_maxunit "devclass_t dc"
.Sh DESCRIPTION
diff --git a/share/man/man9/devclass_get_name.9 b/share/man/man9/devclass_get_name.9
index 1fdccbe132e5..03d9f4a7aefe 100644
--- a/share/man/man9/devclass_get_name.9
+++ b/share/man/man9/devclass_get_name.9
@@ -35,8 +35,8 @@
.Nm devclass_get_name
.Nd access the name of a devclass
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft const char *
.Fn devclass_get_name "devclass_t dc"
.Sh DESCRIPTION
diff --git a/share/man/man9/devclass_get_softc.9 b/share/man/man9/devclass_get_softc.9
index c618c03ee9cc..ebe2eaa80426 100644
--- a/share/man/man9/devclass_get_softc.9
+++ b/share/man/man9/devclass_get_softc.9
@@ -35,8 +35,8 @@
.Nm devclass_get_softc
.Nd translate unit number to driver private structure
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft void *
.Fn devclass_get_softc "devclass_t dc" "int unit"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_add_child.9 b/share/man/man9/device_add_child.9
index 1bb1a0192bba..3c5d2e3c948c 100644
--- a/share/man/man9/device_add_child.9
+++ b/share/man/man9/device_add_child.9
@@ -36,8 +36,8 @@
.Nm device_add_child_ordered
.Nd "add a new device as a child of an existing device"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft device_t
.Fn device_add_child "device_t dev" "const char *name" "int unit"
.Ft device_t
diff --git a/share/man/man9/device_delete_child.9 b/share/man/man9/device_delete_child.9
index a5e9b02869d8..cd45e42e9056 100644
--- a/share/man/man9/device_delete_child.9
+++ b/share/man/man9/device_delete_child.9
@@ -35,8 +35,8 @@
.Nm device_delete_child
.Nd delete a child from a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn device_delete_child "device_t dev" "device_t child"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_enable.9 b/share/man/man9/device_enable.9
index 75ff0aa31a1a..515d6881097c 100644
--- a/share/man/man9/device_enable.9
+++ b/share/man/man9/device_enable.9
@@ -37,8 +37,8 @@
.Nm device_is_enabled
.Nd manipulate device enabled flag
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft void
.Fn device_enable "device_t dev"
.Ft void
diff --git a/share/man/man9/device_find_child.9 b/share/man/man9/device_find_child.9
index b8182d0cec87..25c1abf7f46f 100644
--- a/share/man/man9/device_find_child.9
+++ b/share/man/man9/device_find_child.9
@@ -35,8 +35,8 @@
.Nm device_find_child
.Nd search for a child of a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft device_t
.Fn device_find_child "device_t dev" "const char* name" "int unit"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_get_children.9 b/share/man/man9/device_get_children.9
index 8761d55d4d35..c9bbba89bd6f 100644
--- a/share/man/man9/device_get_children.9
+++ b/share/man/man9/device_get_children.9
@@ -35,8 +35,8 @@
.Nm device_get_children
.Nd get a list of devices connected to a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn device_get_children "device_t dev" "device_t **devlistp" "int *devcountp"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_get_devclass.9 b/share/man/man9/device_get_devclass.9
index 7f01af79092b..60ad911908b8 100644
--- a/share/man/man9/device_get_devclass.9
+++ b/share/man/man9/device_get_devclass.9
@@ -35,8 +35,8 @@
.Nm device_get_devclass
.Nd access the devclass of a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft devclass_t
.Fn device_get_devclass "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_get_driver.9 b/share/man/man9/device_get_driver.9
index c88298ae9259..38a54807e57e 100644
--- a/share/man/man9/device_get_driver.9
+++ b/share/man/man9/device_get_driver.9
@@ -35,8 +35,8 @@
.Nm device_get_driver
.Nd access the current driver of a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft driver_t *
.Fn device_get_driver "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_get_ivars.9 b/share/man/man9/device_get_ivars.9
index ed724e400d5c..b934283270c0 100644
--- a/share/man/man9/device_get_ivars.9
+++ b/share/man/man9/device_get_ivars.9
@@ -35,8 +35,8 @@
.Nm device_get_ivars
.Nd access bus private variables
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft void *
.Fn device_get_ivars "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_get_softc.9 b/share/man/man9/device_get_softc.9
index 927676d50e23..f180a49ecf74 100644
--- a/share/man/man9/device_get_softc.9
+++ b/share/man/man9/device_get_softc.9
@@ -35,8 +35,8 @@
.Nm device_get_softc
.Nd access driver private instance variables
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft void *
.Fn device_get_softc "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_get_state.9 b/share/man/man9/device_get_state.9
index dfec2c6022fb..e499336974e7 100644
--- a/share/man/man9/device_get_state.9
+++ b/share/man/man9/device_get_state.9
@@ -38,8 +38,8 @@
.Nm device_is_alive
.Nd manipulate device state
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft device_state_t
.Fn device_get_state "device_t dev"
.Ft void
diff --git a/share/man/man9/device_get_unit.9 b/share/man/man9/device_get_unit.9
index e412c241038d..19018c6ea56e 100644
--- a/share/man/man9/device_get_unit.9
+++ b/share/man/man9/device_get_unit.9
@@ -35,8 +35,8 @@
.Nm device_get_unit
.Nd access the unit number of a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn device_get_unit "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_probe_and_attach.9 b/share/man/man9/device_probe_and_attach.9
index 1a0b5d497b5d..44ccd4eec7be 100644
--- a/share/man/man9/device_probe_and_attach.9
+++ b/share/man/man9/device_probe_and_attach.9
@@ -35,8 +35,8 @@
.Nm device_probe_and_attach
.Nd initialise a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft int
.Fn device_probe_and_attach "device_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/device_quiet.9 b/share/man/man9/device_quiet.9
index 5766970048b1..0a3bdc0ad4dd 100644
--- a/share/man/man9/device_quiet.9
+++ b/share/man/man9/device_quiet.9
@@ -37,8 +37,8 @@
.Nm device_is_quiet
.Nd manipulate device quiet flag
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft void
.Fn device_quiet "device_t dev"
.Ft void
diff --git a/share/man/man9/device_set_desc.9 b/share/man/man9/device_set_desc.9
index e2ac5f916f7d..6ddbeabd0bff 100644
--- a/share/man/man9/device_set_desc.9
+++ b/share/man/man9/device_set_desc.9
@@ -37,8 +37,8 @@
.Nm device_get_desc
.Nd access the description of a device
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft void
.Fn device_set_desc "device_t dev" "const char *desc"
.Ft void
diff --git a/share/man/man9/device_set_flags.9 b/share/man/man9/device_set_flags.9
index ab48f6e945a2..70bb8508ad2b 100644
--- a/share/man/man9/device_set_flags.9
+++ b/share/man/man9/device_set_flags.9
@@ -36,8 +36,8 @@
.Nm device_get_flags
.Nd manipulate driver flags
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
+.In sys/param.h
+.In sys/bus.h
.Ft void
.Fn device_set_flags "device_t dev" "u_int32_t flags"
.Ft u_int32_t
diff --git a/share/man/man9/devstat.9 b/share/man/man9/devstat.9
index 2e0922eaa442..a5d5b205915b 100644
--- a/share/man/man9/devstat.9
+++ b/share/man/man9/devstat.9
@@ -39,7 +39,7 @@
.Nm devstat_start_transaction
.Nd kernel interface for keeping device statistics
.Sh SYNOPSIS
-.Fd #include <sys/devicestat.h>
+.In sys/devicestat.h
.Ft void
.Fo devstat_add_entry
.Fa "struct devstat *ds"
diff --git a/share/man/man9/devtoname.9 b/share/man/man9/devtoname.9
index f88bd6f30767..3b9ad94ebb94 100644
--- a/share/man/man9/devtoname.9
+++ b/share/man/man9/devtoname.9
@@ -31,8 +31,8 @@
.Nm devtoname
.Nd "converts dev_t data into a string indicating the device name"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/conf.h>
+.In sys/param.h
+.In sys/conf.h
.Ft const char *
.Fn devtoname "dev_t dev"
.Sh DESCRIPTION
diff --git a/share/man/man9/extattr.9 b/share/man/man9/extattr.9
index 0ca12d5060d0..70ecb11047c3 100644
--- a/share/man/man9/extattr.9
+++ b/share/man/man9/extattr.9
@@ -32,9 +32,9 @@
.Nm extattr
.Nd virtual file system named extended attributes
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
-.Fd #include <sys/extattr.h>
+.In sys/param.h
+.In sys/vnode.h
+.In sys/extattr.h
.Sh DESCRIPTION
Named extended attributes allow additional meta-data to be associated
with vnodes representing files and directories.
diff --git a/share/man/man9/fetch.9 b/share/man/man9/fetch.9
index baa2028c5bde..7de3ff7fbb99 100644
--- a/share/man/man9/fetch.9
+++ b/share/man/man9/fetch.9
@@ -45,10 +45,10 @@
.Nm fuword
.Nd fetch data from user-space
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/time.h>
-.Fd #include <sys/systm.h>
-.Fd #include <sys/resourcevar.h>
+.In sys/types.h
+.In sys/time.h
+.In sys/systm.h
+.In sys/resourcevar.h
.Ft int
.Fn fubyte "const void *base"
.Ft int
diff --git a/share/man/man9/get_cyclecount.9 b/share/man/man9/get_cyclecount.9
index 1403808870fb..bf06411ec850 100644
--- a/share/man/man9/get_cyclecount.9
+++ b/share/man/man9/get_cyclecount.9
@@ -31,8 +31,8 @@
.Nm get_cyclecounter
.Nd get the CPU's fast counter register contents
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <machine/cpu.h>
+.In sys/param.h
+.In machine/cpu.h
.Ft u_int64_t
.Fn get_cyclecounter "void"
.Sh DESCRIPTION
diff --git a/share/man/man9/get_cyclecounter.9 b/share/man/man9/get_cyclecounter.9
index 1403808870fb..bf06411ec850 100644
--- a/share/man/man9/get_cyclecounter.9
+++ b/share/man/man9/get_cyclecounter.9
@@ -31,8 +31,8 @@
.Nm get_cyclecounter
.Nd get the CPU's fast counter register contents
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <machine/cpu.h>
+.In sys/param.h
+.In machine/cpu.h
.Ft u_int64_t
.Fn get_cyclecounter "void"
.Sh DESCRIPTION
diff --git a/share/man/man9/ifnet.9 b/share/man/man9/ifnet.9
index 826666224bb9..6686b008ee4c 100644
--- a/share/man/man9/ifnet.9
+++ b/share/man/man9/ifnet.9
@@ -37,12 +37,12 @@
.Nm if_data
.Nd kernel interfaces for manipulating network interfaces
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/time.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/if.h>
-.Fd #include <net/if_var.h>
-.Fd #include <net/if_types.h>
+.In sys/types.h
+.In sys/time.h
+.In sys/socket.h
+.In net/if.h
+.In net/if_var.h
+.In net/if_types.h
.\"
.Ss "Interface manipulation functions"
.Ft void
diff --git a/share/man/man9/inittodr.9 b/share/man/man9/inittodr.9
index e99a58ec18fa..39dd7416b9d9 100644
--- a/share/man/man9/inittodr.9
+++ b/share/man/man9/inittodr.9
@@ -38,8 +38,8 @@
.Nm inittodr
.Nd initialize system time
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn inittodr "time_t base"
.Sh DESCRIPTION
diff --git a/share/man/man9/ithread.9 b/share/man/man9/ithread.9
index ef5e5150759a..a062c6361a6c 100644
--- a/share/man/man9/ithread.9
+++ b/share/man/man9/ithread.9
@@ -36,8 +36,8 @@
.Nm ithread_schedule
.Nd kernel interrupt threads
.Sh SYNOPSIS
-.Fd #include <sys/bus.h>
-.Fd #include <sys/interrupt.h>
+.In sys/bus.h
+.In sys/interrupt.h
.Ft int
.Fo ithread_add_handler
.Fa "struct ithd *ithread"
diff --git a/share/man/man9/kernacc.9 b/share/man/man9/kernacc.9
index ee617ec944f8..8bfc29688f95 100644
--- a/share/man/man9/kernacc.9
+++ b/share/man/man9/kernacc.9
@@ -44,9 +44,9 @@
.Nm useracc
.Nd check memory regions for accessibility
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <vm/vm.h>
-.Fd #include <vm/vm_extern.h>
+.In sys/types.h
+.In vm/vm.h
+.In vm/vm_extern.h
.Ft int
.Fn kernacc "caddr_t addr" "int len" "int rw"
.Ft int
diff --git a/share/man/man9/kobj.9 b/share/man/man9/kobj.9
index 6d89cfe1fcfd..2c831cf2f0d8 100644
--- a/share/man/man9/kobj.9
+++ b/share/man/man9/kobj.9
@@ -35,8 +35,8 @@
.Nm kobj
.Nd a kernel object system for FreeBSD
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/kobj.h>
+.In sys/param.h
+.In sys/kobj.h
.Ft void
.Fn kobj_class_compile "kobj_class_t cls"
.Ft void
diff --git a/share/man/man9/kthread.9 b/share/man/man9/kthread.9
index a183bc62b2aa..873edda632b3 100644
--- a/share/man/man9/kthread.9
+++ b/share/man/man9/kthread.9
@@ -38,7 +38,7 @@
.Nm kthread_suspend_check
.Nd kernel threads
.Sh SYNOPSIS
-.Fd #include <sys/kthread.h>
+.In sys/kthread.h
.Ft void
.Fn kproc_start "const void *udata"
.Ft void
diff --git a/share/man/man9/lock.9 b/share/man/man9/lock.9
index f65fab82807d..5682067f6bd9 100644
--- a/share/man/man9/lock.9
+++ b/share/man/man9/lock.9
@@ -35,8 +35,8 @@
.Nm lockstatus
.Nd kernel process locking
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/lock.h>
+.In sys/types.h
+.In sys/lock.h
.Ft void
.Fn lockinit "struct lock *lkp" "int prio" "char *wmesg" "int timo" "int flags"
.Ft int
diff --git a/share/man/man9/make_dev.9 b/share/man/man9/make_dev.9
index 1c6602eaa2e5..231bc759c416 100644
--- a/share/man/man9/make_dev.9
+++ b/share/man/man9/make_dev.9
@@ -36,8 +36,8 @@
.Vt dev_t Ns 's
and DEVFS registration for devices
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/conf.h>
+.In sys/types.h
+.In sys/conf.h
.Ft dev_t
.Fn make_dev "struct cdevsw *cdevsw" "int minor" "uid_t uid" "gid_t gid" "int perms" "char *fmt" ...
.Ft dev_t
diff --git a/share/man/man9/malloc.9 b/share/man/man9/malloc.9
index 84e5a0588fc5..c748724585fa 100644
--- a/share/man/man9/malloc.9
+++ b/share/man/man9/malloc.9
@@ -46,8 +46,8 @@
.Nm FREE
.Nd kernel memory management routines
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/malloc.h>
+.In sys/types.h
+.In sys/malloc.h
.Ft void *
.Fn malloc "unsigned long size" "struct malloc_type *type" "int flags"
.Fn MALLOC "space" "cast" "unsigned long size" "struct malloc_type *type" "int flags"
diff --git a/share/man/man9/mbchain.9 b/share/man/man9/mbchain.9
index f00aa41b5531..da4959560a2e 100644
--- a/share/man/man9/mbchain.9
+++ b/share/man/man9/mbchain.9
@@ -50,8 +50,8 @@
.Cd options LIBMCHAIN
.Li kldload libmchain
.Pp
-.Fd #include <sys/param.h>
-.Fd #include <sys/mchain.h>
+.In sys/param.h
+.In sys/mchain.h
.Ft int
.Fn mb_init "struct mbchain *mbp"
.Ft void
diff --git a/share/man/man9/mbuf.9 b/share/man/man9/mbuf.9
index 1cb830933c75..6b38564a8f5e 100644
--- a/share/man/man9/mbuf.9
+++ b/share/man/man9/mbuf.9
@@ -33,8 +33,8 @@
.Nd "memory management in the kernel IPC subsystem"
.\"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mbuf.h>
+.In sys/param.h
+.In sys/mbuf.h
.\"
.Ss Mbuf allocation macros
.Fn MGET "struct mbuf *mbuf" "int how" "short type"
diff --git a/share/man/man9/mdchain.9 b/share/man/man9/mdchain.9
index 8a9f10259dbf..774922db84a1 100644
--- a/share/man/man9/mdchain.9
+++ b/share/man/man9/mdchain.9
@@ -51,8 +51,8 @@
.Cd options LIBMCHAIN
.Li kldload libmchain
.Pp
-.Fd #include <sys/param.h>
-.Fd #include <sys/mchain.h>
+.In sys/param.h
+.In sys/mchain.h
.Ft void
.Fn md_initm "struct mdchain *mdp" "struct mbuf *m"
.Ft void
diff --git a/share/man/man9/mi_switch.9 b/share/man/man9/mi_switch.9
index 7c11f8d71724..f24d47763320 100644
--- a/share/man/man9/mi_switch.9
+++ b/share/man/man9/mi_switch.9
@@ -45,8 +45,8 @@
.Nm cpu_throw
.Nd switch to another process context
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/proc.h>
+.In sys/param.h
+.In sys/proc.h
.Ft void
.Fn mi_switch "void"
.Ft void
diff --git a/share/man/man9/microseq.9 b/share/man/man9/microseq.9
index a5301003544c..69fb388fe672 100644
--- a/share/man/man9/microseq.9
+++ b/share/man/man9/microseq.9
@@ -31,9 +31,9 @@
.Nm microseq
.Nd ppbus microseqencer developer's guide
.Sh SYNOPSIS
-.Fd "#include <sys/types.h>"
-.Fd "#include <dev/ppbus/ppbconf.h>"
-.Fd "#include <dev/ppbus/ppb_msq.h>"
+.In sys/types.h
+.In dev/ppbus/ppbconf.h
+.In dev/ppbus/ppb_msq.h
.Sh DESCRIPTION
See
.Xr ppbus 4
diff --git a/share/man/man9/microtime.9 b/share/man/man9/microtime.9
index 5ff566767baf..3d59bc64ced8 100644
--- a/share/man/man9/microtime.9
+++ b/share/man/man9/microtime.9
@@ -34,7 +34,7 @@
.Nm getnanotime
.Nd get the current time
.Sh SYNOPSIS
-.Fd #include <sys/time.h>
+.In sys/time.h
.Ft void
.Fn microtime "struct timeval *tv"
.Ft void
diff --git a/share/man/man9/microuptime.9 b/share/man/man9/microuptime.9
index 82a557436cbb..304f205efc8c 100644
--- a/share/man/man9/microuptime.9
+++ b/share/man/man9/microuptime.9
@@ -34,7 +34,7 @@
.Nm getnanouptime
.Nd get the time elapsed since boot
.Sh SYNOPSIS
-.Fd #include <sys/time.h>
+.In sys/time.h
.Ft void
.Fn microuptime "struct timeval *tv"
.Ft void
diff --git a/share/man/man9/mutex.9 b/share/man/man9/mutex.9
index 5d6e52492352..84257c303c6d 100644
--- a/share/man/man9/mutex.9
+++ b/share/man/man9/mutex.9
@@ -51,9 +51,9 @@
.Nm mtx_assert
.Nd kernel synchronization primitives
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/lock.h>
-.Fd #include <sys/mutex.h>
+.In sys/param.h
+.In sys/lock.h
+.In sys/mutex.h
.Ft void
.Fn mtx_init "struct mtx *mutex" "const char *description" "int opts"
.Ft void
diff --git a/share/man/man9/namei.9 b/share/man/man9/namei.9
index 3443360e1394..bcae3bd3609c 100644
--- a/share/man/man9/namei.9
+++ b/share/man/man9/namei.9
@@ -40,8 +40,8 @@
.Nm NDINIT
.Nd convert pathname to a pointer to a locked vnode
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/namei.h>
+.In sys/types.h
+.In sys/namei.h
.Ft int
.Fn namei "struct nameidata *ndp"
.Ft void
diff --git a/share/man/man9/panic.9 b/share/man/man9/panic.9
index a34c61ac5c59..44333c3de926 100644
--- a/share/man/man9/panic.9
+++ b/share/man/man9/panic.9
@@ -38,7 +38,7 @@
.Nm panic
.Nd bring down system on fatal error
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
+.In sys/param.h
.Ft void
.Fn panic "const char *fmt" ...
.Sh DESCRIPTION
diff --git a/share/man/man9/pfil.9 b/share/man/man9/pfil.9
index b663fcdf7293..d7b3eadd8b0b 100644
--- a/share/man/man9/pfil.9
+++ b/share/man/man9/pfil.9
@@ -35,10 +35,10 @@
.Nm pfil_remove_hook
.Nd packet filter interface
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/mbuf.h>
-.Fd #include <net/if.h>
-.Fd #include <net/pfil.h>
+.In sys/param.h
+.In sys/mbuf.h
+.In net/if.h
+.In net/pfil.h
.Ft struct packet_filter_hook *
.Fn pfil_hook_get "int" "struct pfil_head *"
.Ft void
diff --git a/share/man/man9/physio.9 b/share/man/man9/physio.9
index a866bd956998..c540343cfe70 100644
--- a/share/man/man9/physio.9
+++ b/share/man/man9/physio.9
@@ -43,9 +43,9 @@
.Nm physio
.Nd initiate I/O on raw devices
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/systm.h>
-.Fd #include <sys/buf.h>
+.In sys/param.h
+.In sys/systm.h
+.In sys/buf.h
.Ft int
.Fn physio "dev_t dev" "struct uio *uio" "int ioflag"
.Sh DESCRIPTION
diff --git a/share/man/man9/printf.9 b/share/man/man9/printf.9
index 67ebf4f29280..b3b31898e9b8 100644
--- a/share/man/man9/printf.9
+++ b/share/man/man9/printf.9
@@ -32,8 +32,8 @@
.Nm printf , uprintf , tprintf
.Nd formatted output conversion
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft int
.Fn printf "const char *fmt" "..."
.Ft void
diff --git a/share/man/man9/psignal.9 b/share/man/man9/psignal.9
index da0e9936ff7a..f8e65622457d 100644
--- a/share/man/man9/psignal.9
+++ b/share/man/man9/psignal.9
@@ -44,8 +44,8 @@
.Nm gsignal
.Nd post signal to a process or process group
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/signalvar.h>
+.In sys/types.h
+.In sys/signalvar.h
.Ft void
.Fn psignal "struct proc *p" "int signum"
.Ft void
diff --git a/share/man/man9/random.9 b/share/man/man9/random.9
index 1e55c2cf20d6..2347cbc175a9 100644
--- a/share/man/man9/random.9
+++ b/share/man/man9/random.9
@@ -36,7 +36,7 @@
.Nm srandom
.Nd supply pseudo-random numbers
.Sh SYNOPSIS
-.Fd #include <sys/libkern.h>
+.In sys/libkern.h
.Ft void
.Fn srandom "u_long seed"
.Ft u_long
@@ -44,7 +44,7 @@
.Ft u_int32_t
.Fn arc4random "void"
.Pp
-.Fd #include <sys/random.h>
+.In sys/random.h
.Ft u_int
.Fn read_random "void *buffer" "u_int count"
.Sh DESCRIPTION
diff --git a/share/man/man9/resettodr.9 b/share/man/man9/resettodr.9
index 73034b3518ec..95c842ad08bd 100644
--- a/share/man/man9/resettodr.9
+++ b/share/man/man9/resettodr.9
@@ -38,8 +38,8 @@
.Nm resettodr
.Nd set battery-backed clock from system time
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft void
.Fn resettodr "void"
.Sh DESCRIPTION
diff --git a/share/man/man9/resource_int_value.9 b/share/man/man9/resource_int_value.9
index 85e36ca5097d..6c190471adde 100644
--- a/share/man/man9/resource_int_value.9
+++ b/share/man/man9/resource_int_value.9
@@ -35,7 +35,7 @@
.Nm resource_int_value , resource_long_value , resource_string_value
.Nd get a value from the hints mechanism
.Sh SYNOPSIS
-.Fd #include <sys/bus.h>
+.In sys/bus.h
.Ft int
.Fn resource_int_value "const char *name" "int unit" "const char *resname" "int *result"
.Ft int
diff --git a/share/man/man9/resource_query_string.9 b/share/man/man9/resource_query_string.9
index 7d753b8d6e84..8c5097ea8e66 100644
--- a/share/man/man9/resource_query_string.9
+++ b/share/man/man9/resource_query_string.9
@@ -37,7 +37,7 @@
.Dq hints
database for matches
.Sh SYNOPSIS
-.Fd #include <sys/bus.h>
+.In sys/bus.h
.Ft int
.Fn resource_query_string "int num" "const char *field" "const char *what"
.Ft char *
diff --git a/share/man/man9/rtalloc.9 b/share/man/man9/rtalloc.9
index 1c34932c9ba8..b41836154690 100644
--- a/share/man/man9/rtalloc.9
+++ b/share/man/man9/rtalloc.9
@@ -36,9 +36,9 @@
.Nm rtalloc1
.Nd look up a route in the kernel routing table
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/route.h>
+.In sys/types.h
+.In sys/socket.h
+.In net/route.h
.Ft void
.Fn rtalloc "struct route *ro"
.Ft void
diff --git a/share/man/man9/rtentry.9 b/share/man/man9/rtentry.9
index b6c732cc4e80..8ddfb0c47476 100644
--- a/share/man/man9/rtentry.9
+++ b/share/man/man9/rtentry.9
@@ -34,9 +34,9 @@
.Nm rtentry
.Nd structure of an entry in the kernel routing table
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/socket.h>
-.Fd #include <net/route.h>
+.In sys/types.h
+.In sys/socket.h
+.In net/route.h
.Sh DESCRIPTION
The kernel provides a common mechanism by which all protocols can store
and retrieve entries from a central table of routes. Parts of this
diff --git a/share/man/man9/runqueue.9 b/share/man/man9/runqueue.9
index 745b20bbfd6b..2b6de88ab021 100644
--- a/share/man/man9/runqueue.9
+++ b/share/man/man9/runqueue.9
@@ -33,8 +33,8 @@
.Nm setrunqueue
.Nd manage the queue of runnable processes
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/proc.h>
+.In sys/param.h
+.In sys/proc.h
.Vt "extern struct rq itqueues[]" ;
.Vt "extern struct rq rtqueues[]" ;
.Vt "extern struct rq queues[]" ;
diff --git a/share/man/man9/sbuf.9 b/share/man/man9/sbuf.9
index a48d61de8a38..8c6ffa6aa3c6 100644
--- a/share/man/man9/sbuf.9
+++ b/share/man/man9/sbuf.9
@@ -47,8 +47,8 @@
.Nm sbuf_delete
.Nd safe string formatting
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/sbuf.h>
+.In sys/types.h
+.In sys/sbuf.h
.Ft struct sbuf *s
.Fn sbuf_new "struct sbuf *s" "char *buf" "int length" "int flags"
.Ft void
diff --git a/share/man/man9/scheduler.9 b/share/man/man9/scheduler.9
index 42ad34c1431d..5d997531674d 100644
--- a/share/man/man9/scheduler.9
+++ b/share/man/man9/scheduler.9
@@ -39,8 +39,8 @@
.Nm updatepri
.Nd perform round-robin scheduling of runnable processes
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/proc.h>
+.In sys/param.h
+.In sys/proc.h
.Ft int
.Fn curpriority_cmp "struct proc *p"
.Ft void
diff --git a/share/man/man9/sleep.9 b/share/man/man9/sleep.9
index 6404eb2b3591..5328a8541063 100644
--- a/share/man/man9/sleep.9
+++ b/share/man/man9/sleep.9
@@ -35,9 +35,9 @@
.Nm wakeup
.Nd wait for events
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/systm.h>
-.Fd #include <sys/proc.h>
+.In sys/param.h
+.In sys/systm.h
+.In sys/proc.h
.Ft int
.Fn tsleep "void *ident" "int priority" "const char *wmesg" "int timo"
.Ft int
diff --git a/share/man/man9/sleepqueue.9 b/share/man/man9/sleepqueue.9
index d944f4c4eaf5..46b3988f79c8 100644
--- a/share/man/man9/sleepqueue.9
+++ b/share/man/man9/sleepqueue.9
@@ -32,8 +32,8 @@
.Nm unsleep
.Nd manage the queues of sleeping processes
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/proc.h>
+.In sys/param.h
+.In sys/proc.h
.Ft void
.Fn endtsleep "void *arg"
.Ft void
diff --git a/share/man/man9/spl.9 b/share/man/man9/spl.9
index f7902d40f959..395856e922ac 100644
--- a/share/man/man9/spl.9
+++ b/share/man/man9/spl.9
@@ -43,8 +43,8 @@
.Nm splx
.Nd manipulate interrupt priorities
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Ft intrmask_t
.Fn splbio "void"
.Ft intrmask_t
diff --git a/share/man/man9/store.9 b/share/man/man9/store.9
index a0eb22aa5145..4438d84ca5aa 100644
--- a/share/man/man9/store.9
+++ b/share/man/man9/store.9
@@ -45,10 +45,10 @@
.Nm suword
.Nd store data to user-space
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/time.h>
-.Fd #include <sys/systm.h>
-.Fd #include <sys/resourcevar.h>
+.In sys/types.h
+.In sys/time.h
+.In sys/systm.h
+.In sys/resourcevar.h
.Ft int
.Fn subyte "void *base" "int byte"
.Ft int
diff --git a/share/man/man9/suser.9 b/share/man/man9/suser.9
index 229ca4190717..2e995071c64b 100644
--- a/share/man/man9/suser.9
+++ b/share/man/man9/suser.9
@@ -41,8 +41,8 @@
.Nm suser_xxx
.Nd check if process has superuser privelige
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/systm.h>
+.In sys/param.h
+.In sys/systm.h
.Ft int
.Fn suser "const struct proc *proc"
.Ft int
diff --git a/share/man/man9/swi.9 b/share/man/man9/swi.9
index 097cc97a12bd..3d6018d33ca5 100644
--- a/share/man/man9/swi.9
+++ b/share/man/man9/swi.9
@@ -32,9 +32,9 @@
.Nm swi_sched
.Nd register and schedule software interrupt handlers
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/bus.h>
-.Fd #include <sys/interrupt.h>
+.In sys/param.h
+.In sys/bus.h
+.In sys/interrupt.h
.Vt "extern struct ithd *tty_ithd" ;
.Vt "extern struct ithd *clk_ithd" ;
.Vt "extern void *net_ih" ;
diff --git a/share/man/man9/sx.9 b/share/man/man9/sx.9
index 38e371a2e8fc..6d6072ea90b3 100644
--- a/share/man/man9/sx.9
+++ b/share/man/man9/sx.9
@@ -43,10 +43,10 @@
.Nm sx_downgrade
.Nd kernel shared/exclusive lock
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/lock.h>
-.Fd #include <sys/mutex.h>
-.Fd #include <sys/sx.h>
+.In sys/types.h
+.In sys/lock.h
+.In sys/mutex.h
+.In sys/sx.h
.Ft void
.Fn sx_init "struct sx *sx" "const char *description"
.Ft void
diff --git a/share/man/man9/sysctl_add_oid.9 b/share/man/man9/sysctl_add_oid.9
index 032a94dbf8a6..e7ff902028c3 100644
--- a/share/man/man9/sysctl_add_oid.9
+++ b/share/man/man9/sysctl_add_oid.9
@@ -35,7 +35,7 @@
.Nm sysctl_remove_oid
.Nd runtime sysctl tree manipulation
.Sh SYNOPSIS
-.Fd #include <sys/sysctl.h>
+.In sys/sysctl.h
.Ft struct sysctl_oid *
.Fo sysctl_add_oid
.Fa "struct sysctl_ctx_list *ctx"
diff --git a/share/man/man9/sysctl_ctx_init.9 b/share/man/man9/sysctl_ctx_init.9
index 4ef04ee6c91f..3e223adf1710 100644
--- a/share/man/man9/sysctl_ctx_init.9
+++ b/share/man/man9/sysctl_ctx_init.9
@@ -38,8 +38,8 @@
.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>
+.In sys/types.h
+.In sys/sysctl.h
.Ft int
.Fo sysctl_ctx_init
.Fa "struct sysctl_ctx_list *clist"
diff --git a/share/man/man9/taskqueue.9 b/share/man/man9/taskqueue.9
index 6cbb98294527..adb71b695475 100644
--- a/share/man/man9/taskqueue.9
+++ b/share/man/man9/taskqueue.9
@@ -35,9 +35,9 @@
.Nm taskqueue
.Nd asynchronous task execution
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/queue.h>
-.Fd #include <sys/taskqueue.h>
+.In sys/param.h
+.In sys/queue.h
+.In sys/taskqueue.h
.Bd -literal
typedef void (*task_fn)(void *context, int pending);
diff --git a/share/man/man9/timeout.9 b/share/man/man9/timeout.9
index fbf89f04db7e..f7152a4af853 100644
--- a/share/man/man9/timeout.9
+++ b/share/man/man9/timeout.9
@@ -48,8 +48,8 @@
.Nm callout_reset
.Nd execute a function after a specified length of time
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/systm.h>
+.In sys/types.h
+.In sys/systm.h
.Pp
.Bd -literal
typedef void timeout_t (void *);
diff --git a/share/man/man9/tvtohz.9 b/share/man/man9/tvtohz.9
index 4512104ca432..b8b58a562139 100644
--- a/share/man/man9/tvtohz.9
+++ b/share/man/man9/tvtohz.9
@@ -31,7 +31,7 @@
.Nm tvtohz
.Nd convert time interval to tick count
.Sh SYNOPSIS
-.Fd #include <sys/time.h>
+.In sys/time.h
.Ft int
.Fn tvtohz "struct timeval *tv"
.Sh DESCRIPTION
diff --git a/share/man/man9/uio.9 b/share/man/man9/uio.9
index 64c578681c4e..0da26c3bb9b1 100644
--- a/share/man/man9/uio.9
+++ b/share/man/man9/uio.9
@@ -33,8 +33,8 @@
.Nm uiomove
.Nd device driver IO routines
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/uio.h>
+.In sys/types.h
+.In sys/uio.h
.Pp
.Bd -literal
struct uio {
diff --git a/share/man/man9/vcount.9 b/share/man/man9/vcount.9
index b77d85b786f8..52df9eeb2e23 100644
--- a/share/man/man9/vcount.9
+++ b/share/man/man9/vcount.9
@@ -40,9 +40,9 @@
.Nm count_dev
.Nd "get total number of references to a device"
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <sys/conf.h>
-.Fd #include <sys/vnode.h>
+.In sys/types.h
+.In sys/conf.h
+.In sys/vnode.h
.Ft int
.Fn vcount "struct vnode *vp"
.Ft int
diff --git a/share/man/man9/vget.9 b/share/man/man9/vget.9
index b0d4c5758b50..b773e3291924 100644
--- a/share/man/man9/vget.9
+++ b/share/man/man9/vget.9
@@ -35,8 +35,8 @@
.Nm vget
.Nd get a vnode from the free list
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft int
.Fn vget "struct vnode *vp" "int lockflag" "struct proc *p"
.Sh DESCRIPTION
diff --git a/share/man/man9/vnode.9 b/share/man/man9/vnode.9
index 239362471e1b..f6ceebc36134 100644
--- a/share/man/man9/vnode.9
+++ b/share/man/man9/vnode.9
@@ -35,8 +35,8 @@
.Nm vnode
.Nd internal representation of a file or directory
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Pp
.Bd -literal
/*
diff --git a/share/man/man9/vput.9 b/share/man/man9/vput.9
index 5001617776fb..bc70a4f09abd 100644
--- a/share/man/man9/vput.9
+++ b/share/man/man9/vput.9
@@ -35,8 +35,8 @@
.Nm vput
.Nd "decrement the use count for a vnode and unlock it"
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vput "struct vnode *vp"
.Sh DESCRIPTION
diff --git a/share/man/man9/vref.9 b/share/man/man9/vref.9
index c35a8ee95109..214a05999441 100644
--- a/share/man/man9/vref.9
+++ b/share/man/man9/vref.9
@@ -35,8 +35,8 @@
.Nm vref
.Nd increment the use count for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vref "struct vnode *vp"
.Sh DESCRIPTION
diff --git a/share/man/man9/vrele.9 b/share/man/man9/vrele.9
index 56517b537a56..adfe769ce60d 100644
--- a/share/man/man9/vrele.9
+++ b/share/man/man9/vrele.9
@@ -35,8 +35,8 @@
.Nm vrele
.Nd decrement the use count for a vnode
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <sys/vnode.h>
+.In sys/param.h
+.In sys/vnode.h
.Ft void
.Fn vrele "struct vnode *vp"
.Sh DESCRIPTION
diff --git a/share/man/man9/vslock.9 b/share/man/man9/vslock.9
index 9168ade8a4af..8dfde5f4fbc5 100644
--- a/share/man/man9/vslock.9
+++ b/share/man/man9/vslock.9
@@ -44,9 +44,9 @@
.Nm vsunlock
.Nd lock/unlock user space addresses in memory
.Sh SYNOPSIS
-.Fd #include <sys/types.h>
-.Fd #include <vm/vm.h>
-.Fd #include <vm/vm_extern.h>
+.In sys/types.h
+.In vm/vm.h
+.In vm/vm_extern.h
.Ft void
.Fn vslock "caddr_t addr" "u_int len"
.Ft void
diff --git a/share/man/man9/zone.9 b/share/man/man9/zone.9
index 7458723b2cde..1cd18ca25896 100644
--- a/share/man/man9/zone.9
+++ b/share/man/man9/zone.9
@@ -37,8 +37,8 @@
.Nm zdestroy
.Nd zone allocator
.Sh SYNOPSIS
-.Fd #include <sys/param.h>
-.Fd #include <vm/vm_zone.h>
+.In sys/param.h
+.In vm/vm_zone.h
.Ft void
.Fn zbootinit "vm_zone_t z" "char *name" "int size" "void *item" "int nitems"
.Ft int