aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/kernel.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-03-16 11:01:32 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-03-16 11:01:32 +0000
commitdd3af71f17c63416eaa2d574ed5ecc257d4d61bc (patch)
treee8689fbfff41a8be795c9c129356cf0ee231c59b /sys/sys/kernel.h
parent237fdd787b20699fc2c01387011b06a9ce746cfa (diff)
downloadsrc-dd3af71f17c63416eaa2d574ed5ecc257d4d61bc.tar.gz
src-dd3af71f17c63416eaa2d574ed5ecc257d4d61bc.zip
Remove trailing ';' from C_SYSINIT() macro definition, in keeping
with style(9) recommendation that macros not contain the terminating ';', leaving that to the invoker. All SYSINIT() consumers must now provide a trailing ';'. Unlike the change to remove the ';'s from callers, this change shouldn't be MFC'd unless we don't mind requiring source changes to third party modules that might still depend on SYSINIT() providing its own ';'.
Notes
Notes: svn path=/head/; revision=177254
Diffstat (limited to 'sys/sys/kernel.h')
-rw-r--r--sys/sys/kernel.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/kernel.h b/sys/sys/kernel.h
index 03df60dd8e19..9c7f6ae9ea14 100644
--- a/sys/sys/kernel.h
+++ b/sys/sys/kernel.h
@@ -232,7 +232,7 @@ struct sysinit {
func, \
(ident) \
}; \
- DATA_SET(sysinit_set,uniquifier ## _sys_init);
+ DATA_SET(sysinit_set,uniquifier ## _sys_init)
#define SYSINIT(uniquifier, subsystem, order, func, ident) \
C_SYSINIT(uniquifier, subsystem, order, \