Fixed wrong function prototype(s) in synopsis.

This commit is contained in:
Bruce Evans 1999-03-06 17:25:50 +00:00
parent 522e56cf6d
commit 5ad5ff52b2
6 changed files with 12 additions and 14 deletions

View File

@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id$
.\" $Id: BUS_PRINT_CHILD.9,v 1.1 1998/09/03 21:52:04 dfr Exp $
.\"
.Dd June 16, 1998
.Os
@ -38,7 +38,7 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
.Ft int
.Ft void
.Fn BUS_PRINT_CHILD "device_t dev" "device_t child"
.Sh DESCRIPTION
.Pp

View File

@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id$
.\" $Id: DEVICE_DETACH.9,v 1.1 1998/09/03 21:52:04 dfr Exp $
.\"
.Dd June 16, 1998
.Os
@ -39,7 +39,7 @@
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
.Ft int
.Fn DEVICE_DETACH "device_t dev" "int arg1" "int arg2"
.Fn DEVICE_DETACH "device_t dev"
.Sh DESCRIPTION
.Pp
Detach a device. This can be called if the user is replacing the

View File

@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id$
.\" $Id: bus_generic_print_child.9,v 1.1 1998/09/03 21:52:05 dfr Exp $
.\"
.Dd June 16, 1998
.Os
@ -40,13 +40,11 @@ for busses
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
.Ft int
.Ft void
.Fn bus_generic_print_child "device_t dev" "device_t child"
.Sh DESCRIPTION
.Pp
This implementation prints nothing at all.
.Sh RETURN VALUES
Zero is returned on success, otherwise an appropriate error is returned.
.Sh SEE ALSO
.Xr device 9
.Sh BUGS

View File

@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id$
.\" $Id: devclass_get_device.9,v 1.1 1998/09/03 21:52:05 dfr Exp $
.\"
.Dd June 16, 1998
.Dt devclass_get_device 9
@ -37,7 +37,7 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
.Ft int
.Ft device_t
.Fn devclass_get_device "devclass_t dc" "int unit"
.Sh DESCRIPTION
.Pp

View File

@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id$
.\" $Id: devclass_get_softc.9,v 1.1 1998/09/03 21:52:05 dfr Exp $
.\"
.Dd June 16, 1998
.Dt devclass_get_softc 9
@ -37,7 +37,7 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
.Ft int
.Ft void *
.Fn devclass_get_softc "devclass_t dc" "int unit"
.Sh DESCRIPTION
.Pp

View File

@ -26,7 +26,7 @@
.\" (INCLUDING NEGLIGENCE OR OTHERWISE) ARISING IN ANY WAY OUT OF THE USE OF
.\" THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF SUCH DAMAGE.
.\"
.\" $Id$
.\" $Id: device_find_child.9,v 1.1 1998/09/03 21:52:05 dfr Exp $
.\"
.Dd June 16, 1998
.Dt device_find_child 9
@ -37,7 +37,7 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
.Ft int
.Ft device_t
.Fn device_find_child "device_t dev" "const char* name" "int unit"
.Sh DESCRIPTION
.Pp