Make module_{lookup,enqueue}() static now that it's possible again

(effectively reverts my kern_module rev. 1.53 from some months ago)
This commit is contained in:
pooka 2010-03-05 20:10:05 +00:00
parent d9a9c03c7b
commit effc302a58
2 changed files with 6 additions and 6 deletions

View File

@ -1,4 +1,4 @@
/* $NetBSD: kern_module.c,v 1.59 2010/03/05 18:35:01 pooka Exp $ */
/* $NetBSD: kern_module.c,v 1.60 2010/03/05 20:10:05 pooka Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@ -34,7 +34,7 @@
*/
#include <sys/cdefs.h>
__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.59 2010/03/05 18:35:01 pooka Exp $");
__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.60 2010/03/05 20:10:05 pooka Exp $");
#define _MODULE_INTERNAL
@ -92,6 +92,9 @@ static int module_do_builtin(const char *, module_t **);
static int module_fetch_info(module_t *);
static void module_thread(void *);
static module_t *module_lookup(const char *);
static void module_enqueue(module_t *);
static bool module_merge_dicts(prop_dictionary_t, const prop_dictionary_t);
int module_eopnotsupp(void);

View File

@ -1,4 +1,4 @@
/* $NetBSD: module.h,v 1.19 2010/03/05 18:35:01 pooka Exp $ */
/* $NetBSD: module.h,v 1.20 2010/03/05 20:10:05 pooka Exp $ */
/*-
* Copyright (c) 2008 The NetBSD Foundation, Inc.
@ -134,9 +134,6 @@ void module_rele(const char *);
int module_find_section(const char *, void **, size_t *);
void module_thread_kick(void);
void module_enqueue(module_t *);
module_t * module_lookup(const char *);
void module_whatis(uintptr_t, void (*)(const char *, ...));
void module_print_list(void (*)(const char *, ...));