diff options
author | bde <bde@FreeBSD.org> | 1998-11-15 15:25:56 +0000 |
---|---|---|
committer | bde <bde@FreeBSD.org> | 1998-11-15 15:25:56 +0000 |
commit | 9f73480e5b7f3277bd0999f8d441fd9f5814425b (patch) | |
tree | 5f49ec6c6cd377c3879594da9a86ef69f87d92cb /sys | |
parent | 5cb54abe05e946a6493cf0d5104330b407bcb171 (diff) | |
download | FreeBSD-src-9f73480e5b7f3277bd0999f8d441fd9f5814425b.zip FreeBSD-src-9f73480e5b7f3277bd0999f8d441fd9f5814425b.tar.gz |
Don't generate module event handlers of the wrong (old) type.
Fixed some pedantic syntax errors (an extra semicolon in each
SYSUNINIT() expansion).
Diffstat (limited to 'sys')
-rw-r--r-- | sys/sys/kernel.h | 7 |
1 files changed, 3 insertions, 4 deletions
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h index 2ff321b..5c9ce82 100644 --- a/sys/sys/kernel.h +++ b/sys/sys/kernel.h @@ -39,7 +39,7 @@ * SUCH DAMAGE. * * @(#)kernel.h 8.3 (Berkeley) 1/21/94 - * $Id: kernel.h,v 1.43 1998/10/16 03:55:01 peter Exp $ + * $Id: kernel.h,v 1.44 1998/11/10 08:41:41 peter Exp $ */ #ifndef _SYS_KERNEL_H_ @@ -258,7 +258,7 @@ struct sysinit { ident, \ SI_TYPE_DEFAULT \ }; \ - DATA_SET(sysuninit_set,uniquifier ## _sys_uninit); + DATA_SET(sysuninit_set,uniquifier ## _sys_uninit) /* * Call 'fork()' before calling '(*func)(ident)'; @@ -326,8 +326,7 @@ void sysinit_add __P((struct sysinit **set)); */ #include <sys/module.h> #define PSEUDO_SET(sym, name) \ - static int name ## _modevent(module_t mod, modeventtype_t type, \ - void *data) \ + static int name ## _modevent(module_t mod, int type, void *data) \ { \ void (*initfunc)(void *) = (void (*)(void *))data; \ switch (type) { \ |