Source-Changes-HG archive

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index][Old Index]

[src/trunk]: src/sys/sys Allow everyone in the kernel to see module_base.



details:   https://anonhg.NetBSD.org/src/rev/9882334fbbf6
branches:  trunk
changeset: 754298:9882334fbbf6
user:      pooka <pooka%NetBSD.org@localhost>
date:      Mon Apr 26 23:18:51 2010 +0000

description:
Allow everyone in the kernel to see module_base.

diffstat:

 sys/sys/module.h |  4 ++--
 1 files changed, 2 insertions(+), 2 deletions(-)

diffs (21 lines):

diff -r e92714a1e722 -r 9882334fbbf6 sys/sys/module.h
--- a/sys/sys/module.h  Mon Apr 26 23:17:13 2010 +0000
+++ b/sys/sys/module.h  Mon Apr 26 23:18:51 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: module.h,v 1.21 2010/03/12 21:53:16 darran Exp $       */
+/*     $NetBSD: module.h,v 1.22 2010/04/26 23:18:51 pooka Exp $        */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -146,10 +146,10 @@
                             __attribute__((__format__(__printf__,1,2)));
 void   module_print(const char *, ...)
                             __attribute__((__format__(__printf__,1,2)));
+#endif /* _MODULE_INTERNAL */
 
 #define MODULE_BASE_SIZE 64
 extern char    module_base[MODULE_BASE_SIZE];
-#endif /* _MODULE_INTERNAL */
 
 #else  /* _KERNEL */
 



Home | Main Index | Thread Index | Old Index