aboutsummaryrefslogtreecommitdiff
path: root/sys/sys/module.h
diff options
context:
space:
mode:
authorRobert Watson <rwatson@FreeBSD.org>2008-03-16 10:58:09 +0000
committerRobert Watson <rwatson@FreeBSD.org>2008-03-16 10:58:09 +0000
commit237fdd787b20699fc2c01387011b06a9ce746cfa (patch)
tree6564575d1252cf3bc48428a52fcc596c284e459b /sys/sys/module.h
parentf48a417b24490b3bdb96ce9c6e4cb48b5dc82437 (diff)
downloadsrc-237fdd787b20699fc2c01387011b06a9ce746cfa.tar.gz
src-237fdd787b20699fc2c01387011b06a9ce746cfa.zip
In keeping with style(9)'s recommendations on macros, use a ';'
after each SYSINIT() macro invocation. This makes a number of lightweight C parsers much happier with the FreeBSD kernel source, including cflow's prcc and lxr. MFC after: 1 month Discussed with: imp, rink
Notes
Notes: svn path=/head/; revision=177253
Diffstat (limited to 'sys/sys/module.h')
-rw-r--r--sys/sys/module.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/module.h b/sys/sys/module.h
index bcffb452905b..6fbf5244dcb1 100644
--- a/sys/sys/module.h
+++ b/sys/sys/module.h
@@ -129,7 +129,7 @@ struct mod_metadata {
MODULE_DEPEND(name, kernel, __FreeBSD_version, \
__FreeBSD_version, MODULE_KERNEL_MAXVER); \
MODULE_METADATA(_md_##name, MDT_MODULE, &data, #name); \
- SYSINIT(name##module, sub, order, module_register_init, &data) \
+ SYSINIT(name##module, sub, order, module_register_init, &data); \
struct __hack
#define MODULE_VERSION(module, version) \