diff options
author | John-Mark Gurney <jmg@FreeBSD.org> | 1997-10-24 05:29:07 +0000 |
---|---|---|
committer | John-Mark Gurney <jmg@FreeBSD.org> | 1997-10-24 05:29:07 +0000 |
commit | f173e80c8b27b9b2f59c6d93f838f139d2f8093b (patch) | |
tree | 31fcc3612e0db1f8282da280b3f11eab5986a5a7 /sys/kern/kern_module.c | |
parent | 5b9513b26611ac9031f01d7a68ddd7685f100b41 (diff) | |
download | src-f173e80c8b27b9b2f59c6d93f838f139d2f8093b.tar.gz src-f173e80c8b27b9b2f59c6d93f838f139d2f8093b.zip |
make a couple functions static...
also change module_register_static to module_register_init as this
function initalizes the module for both dynamic and static modules...
Notes
Notes:
svn path=/head/; revision=30683
Diffstat (limited to 'sys/kern/kern_module.c')
-rw-r--r-- | sys/kern/kern_module.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/kern/kern_module.c b/sys/kern/kern_module.c index fa631a7ef072..9f6a670c4809 100644 --- a/sys/kern/kern_module.c +++ b/sys/kern/kern_module.c @@ -23,7 +23,7 @@ * OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF * SUCH DAMAGE. * - * $Id: kern_module.c,v 1.1 1997/05/07 16:05:31 dfr Exp $ + * $Id: kern_module.c,v 1.2 1997/08/02 14:31:33 bde Exp $ */ #include <sys/param.h> @@ -77,13 +77,13 @@ module_shutdown(int arg1, void* arg2) } void -module_register_static(void *arg) +module_register_init(void *arg) { moduledata_t* data = (moduledata_t*) arg; int error; if (error = module_register(data->name, data->evhand, data->priv)) - printf("module_register_static: module_register(%s, %x, %x) returned %d", + printf("module_register_init: module_register(%s, %x, %x) returned %d", data->name, data->evhand, data->priv, error); } |