From dd3af71f17c63416eaa2d574ed5ecc257d4d61bc Mon Sep 17 00:00:00 2001 From: Robert Watson Date: Sun, 16 Mar 2008 11:01:32 +0000 Subject: [PATCH] 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 ';'. --- sys/sys/kernel.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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, \