Fixed wrong function types (the device_add_child() family returns a

device_t, not an int).
This commit is contained in:
Bruce Evans 1999-12-23 17:39:45 +00:00
parent 9961a6adff
commit 31f698b8ca

View File

@ -38,9 +38,9 @@
.Sh SYNOPSIS
.Fd #include <sys/param.h>
.Fd #include <sys/bus.h>
.Ft int
.Ft device_t
.Fn device_add_child "device_t dev" "const char *name" "int unit"
.Ft int
.Ft device_t
.Fn device_add_child_ordered "device_t dev" "int order" "const char *name" "int unit"
.Sh DESCRIPTION
.Pp