summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2001-05-23 17:53:24 +0000
committerphk <phk@FreeBSD.org>2001-05-23 17:53:24 +0000
commit3a072a6a909c3f3070ad5d73972c7cc8188ed83e (patch)
treea1ec44928a779fc6fd830fa608fa07beebba73ba
parent843f91864fa61759326ea32e976c53f33211f5e0 (diff)
downloadFreeBSD-src-3a072a6a909c3f3070ad5d73972c7cc8188ed83e.zip
FreeBSD-src-3a072a6a909c3f3070ad5d73972c7cc8188ed83e.tar.gz
Use the correct enums in struct sysinit.
-rw-r--r--sys/sys/kernel.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h
index 443874f..5350596 100644
--- a/sys/sys/kernel.h
+++ b/sys/sys/kernel.h
@@ -203,8 +203,8 @@ typedef void (*sysinit_nfunc_t) __P((void *));
typedef void (*sysinit_cfunc_t) __P((const void *));
struct sysinit {
- unsigned int subsystem; /* subsystem identifier*/
- unsigned int order; /* init order within subsystem*/
+ enum sysinit_sub_id subsystem; /* subsystem identifier*/
+ enum sysinit_elem_order order; /* init order within subsystem*/
sysinit_cfunc_t func; /* function */
const void *udata; /* multiplexer/argument */
};
OpenPOWER on IntegriCloud