aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/module.h
diff options
context:
space:
mode:
authorJohn-Mark Gurney <jmg@FreeBSD.org>1997-10-24 05:29:07 +0000
committerJohn-Mark Gurney <jmg@FreeBSD.org>1997-10-24 05:29:07 +0000
commitf173e80c8b27b9b2f59c6d93f838f139d2f8093b (patch)
tree31fcc3612e0db1f8282da280b3f11eab5986a5a7 /sys/sys/module.h
parent5b9513b26611ac9031f01d7a68ddd7685f100b41 (diff)
downloadsrc-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/sys/module.h')
-rw-r--r--sys/sys/module.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/sys/sys/module.h b/sys/sys/module.h
index 643621204d3f..fe54185e5010 100644
--- a/sys/sys/module.h
+++ b/sys/sys/module.h
@@ -23,7 +23,7 @@
* OUT OF THE USE OF THIS SOFTWARE, EVEN IF ADVISED OF THE POSSIBILITY OF
* SUCH DAMAGE.
*
- * $Id$
+ * $Id: module.h,v 1.1 1997/05/07 16:05:45 dfr Exp $
*/
#ifndef _SYS_MODULE_H_
@@ -52,9 +52,9 @@ typedef struct moduledata {
} moduledata_t;
#define DECLARE_MODULE(name, data, sub, order) \
-SYSINIT(name##module, sub, order, module_register_static, &data)
+SYSINIT(name##module, sub, order, module_register_init, &data)
-void module_register_static(void *data);
+void module_register_init(void *data);
int module_register(const char *name, modeventhand_t callback, void *arg);
module_t module_lookupbyname(const char *name);
module_t module_lookupbyid(int modid);