From a10f4352b95d349c624d24df01eb2f6eb8edb649 Mon Sep 17 00:00:00 2001 From: Bruce Evans Date: Thu, 15 Feb 2001 12:21:44 +0000 Subject: [PATCH] Fixed missing and wrong includes in synopsis. The prerequisites for using bus_alloc_resource(), etc., are especially unobvious, but were especially wrong ( has nothing to do with the resources documented here...). Order and format the includes as correctly as possible (a layering violation makes a prerequisite for ). --- share/man/man9/bus_alloc_resource.9 | 4 +++- share/man/man9/bus_release_resource.9 | 4 +++- 2 files changed, 6 insertions(+), 2 deletions(-) diff --git a/share/man/man9/bus_alloc_resource.9 b/share/man/man9/bus_alloc_resource.9 index d250b816212a..412191cfbc68 100644 --- a/share/man/man9/bus_alloc_resource.9 +++ b/share/man/man9/bus_alloc_resource.9 @@ -37,8 +37,10 @@ .Sh SYNOPSIS .Fd #include .Fd #include +.Pp +.Fd #include .Fd #include -.Fd #include +.Fd #include .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_release_resource.9 b/share/man/man9/bus_release_resource.9 index b1178ed7a2d9..dfeba7f11084 100644 --- a/share/man/man9/bus_release_resource.9 +++ b/share/man/man9/bus_release_resource.9 @@ -37,8 +37,10 @@ .Sh SYNOPSIS .Fd #include .Fd #include +.Pp +.Fd #include .Fd #include -.Fd #include +.Fd #include .Ft int .Fn bus_release_resource "device_t dev" "int type" "int rid" "struct resource *r" .Sh DESCRIPTION