Source-Changes-HG archive

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

[src/trunk]: src/sys/kern Move definition of module_load_vfs_vec from kern_mo...



details:   https://anonhg.NetBSD.org/src/rev/43475af657fc
branches:  trunk
changeset: 755157:43475af657fc
user:      pgoyette <pgoyette%NetBSD.org@localhost>
date:      Mon May 24 16:37:17 2010 +0000

description:
Move definition of module_load_vfs_vec from kern_module_vfs.c to
kern_module.c - keeps rump happy.

Thanks, pooka!

diffstat:

 sys/kern/kern_module.c     |  6 ++++--
 sys/kern/kern_module_vfs.c |  6 ++----
 2 files changed, 6 insertions(+), 6 deletions(-)

diffs (54 lines):

diff -r 90b541cd68f8 -r 43475af657fc sys/kern/kern_module.c
--- a/sys/kern/kern_module.c    Mon May 24 15:34:48 2010 +0000
+++ b/sys/kern/kern_module.c    Mon May 24 16:37:17 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module.c,v 1.67 2010/05/24 15:34:48 pgoyette Exp $        */
+/*     $NetBSD: kern_module.c,v 1.68 2010/05/24 16:37:17 pgoyette 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.67 2010/05/24 15:34:48 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module.c,v 1.68 2010/05/24 16:37:17 pgoyette Exp $");
 
 #define _MODULE_INTERNAL
 
@@ -78,6 +78,8 @@
 static kcondvar_t module_thread_cv;
 static kmutex_t module_thread_lock;
 static int     module_thread_ticks;
+int (*module_load_vfs_vec)(const char *, int, bool, module_t *,
+                          prop_dictionary_t *) = (void *)eopnotsupp; 
 
 static kauth_listener_t        module_listener;
 
diff -r 90b541cd68f8 -r 43475af657fc sys/kern/kern_module_vfs.c
--- a/sys/kern/kern_module_vfs.c        Mon May 24 15:34:48 2010 +0000
+++ b/sys/kern/kern_module_vfs.c        Mon May 24 16:37:17 2010 +0000
@@ -1,4 +1,4 @@
-/*     $NetBSD: kern_module_vfs.c,v 1.5 2010/05/24 15:34:49 pgoyette Exp $     */
+/*     $NetBSD: kern_module_vfs.c,v 1.6 2010/05/24 16:37:17 pgoyette Exp $     */
 
 /*-
  * Copyright (c) 2008 The NetBSD Foundation, Inc.
@@ -34,7 +34,7 @@
  */
 
 #include <sys/cdefs.h>
-__KERNEL_RCSID(0, "$NetBSD: kern_module_vfs.c,v 1.5 2010/05/24 15:34:49 pgoyette Exp $");
+__KERNEL_RCSID(0, "$NetBSD: kern_module_vfs.c,v 1.6 2010/05/24 16:37:17 pgoyette Exp $");
 
 #define _MODULE_INTERNAL
 #include <sys/param.h>
@@ -51,8 +51,6 @@
 
 static int     module_load_plist_vfs(const char *, const bool,
                                      prop_dictionary_t *);
-int    (*module_load_vfs_vec)(const char *, int, bool, module_t *,
-                              prop_dictionary_t *) = (void *)eopnotsupp;
 
 void
 module_load_vfs_init(void)



Home | Main Index | Thread Index | Old Index