Source-Changes-HG archive
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]
[src/trunk]: src/sys Make module_{lookup, enqueue}() static now that it's poss...
details: https://anonhg.NetBSD.org/src/rev/369c506259f4
branches: trunk
changeset: 752755:369c506259f4
user: pooka <pooka%NetBSD.org@localhost>
date: Fri Mar 05 20:10:05 2010 +0000
description:
Make module_{lookup,enqueue}() static now that it's possible again
(effectively reverts my kern_module rev. 1.53 from some months ago)
diffstat:
sys/kern/kern_module.c | 7 +++++--
sys/sys/module.h | 5 +----
2 files changed, 6 insertions(+), 6 deletions(-)
diffs (47 lines):
diff -r e7a8d1ed7308 -r 369c506259f4 sys/kern/kern_module.c
--- a/sys/kern/kern_module.c Fri Mar 05 19:58:38 2010 +0000
+++ b/sys/kern/kern_module.c Fri Mar 05 20:10:05 2010 +0000
@@ -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_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);
diff -r e7a8d1ed7308 -r 369c506259f4 sys/sys/module.h
--- a/sys/sys/module.h Fri Mar 05 19:58:38 2010 +0000
+++ b/sys/sys/module.h Fri Mar 05 20:10:05 2010 +0000
@@ -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 @@
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 *, ...));
Home |
Main Index |
Thread Index |
Old Index