kobj.9: Remove information about non-public functions.
authorSascha Wildner <saw@online.de>
Sat, 6 Dec 2014 01:12:38 +0000 (02:12 +0100)
committerSascha Wildner <saw@online.de>
Sat, 6 Dec 2014 01:12:38 +0000 (02:12 +0100)
Makefile_upgrade.inc
share/man/man9/Makefile
share/man/man9/kobj.9

index 0070d09..bdae6e4 100644 (file)
@@ -2736,6 +2736,10 @@ TO_REMOVE+=/usr/share/man/man9/VOP_RENAME.9.gz
 TO_REMOVE+=/usr/share/man/man9/VOP_STRATEGY.9.gz
 TO_REMOVE+=/usr/share/man/cat3/libm.3.gz
 TO_REMOVE+=/usr/share/man/man3/libm.3.gz
+TO_REMOVE+=/usr/share/man/cat9/kobj_class_compile.9.gz
+TO_REMOVE+=/usr/share/man/cat9/kobj_class_free.9.gz
+TO_REMOVE+=/usr/share/man/man9/kobj_class_compile.9.gz
+TO_REMOVE+=/usr/share/man/man9/kobj_class_free.9.gz
 
 .if ${MACHINE_ARCH} == "x86_64"
 TO_REMOVE+=/usr/sbin/stlstats
index 3a1daaa..9843c01 100644 (file)
@@ -590,8 +590,6 @@ MLINKS+=kmalloc.9 kfree.9 \
        kmalloc.9 MALLOC_DECLARE.9 \
        kmalloc.9 MALLOC_DEFINE.9
 MLINKS+=kobj.9 DEFINE_CLASS.9 \
-       kobj.9 kobj_class_compile.9 \
-       kobj.9 kobj_class_free.9 \
        kobj.9 kobj_create.9 \
        kobj.9 kobj_delete.9 \
        kobj.9 kobj_init.9
index b074e8a..6c9b4ea 100644 (file)
 .Sh SYNOPSIS
 .In sys/param.h
 .In sys/kobj.h
-.Ft void
-.Fn kobj_class_compile "kobj_class_t cls"
-.Ft void
-.Fn kobj_class_free "kobj_class_t cls"
 .Ft kobj_t
 .Fn kobj_create "kobj_class_t cls" "struct malloc_type *mtype" "int mflags"
 .Ft void
@@ -97,15 +93,6 @@ of the object.
 The device framework uses this feature to associate drivers with
 devices.
 .Pp
-The functions
-.Fn kobj_class_compile
-and
-.Fn kobj_class_free
-are used to process a class description to make method dispatching
-efficient.
-A client should not normally need to call these since a class
-will automatically be compiled the first time it is used.
-.Pp
 To define a class, first define a simple array of
 .Vt kobj_method_t .
 Each method which the class implements should be entered into the