diff options
author | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-13 22:10:10 +0000 |
---|---|---|
committer | Theo de Raadt <deraadt@cvs.openbsd.org> | 2009-11-13 22:10:10 +0000 |
commit | 9f7484a69ff39a67cfa84c05e263273ea2888fae (patch) | |
tree | 7180220b299703d0e43cc23d08c20f6a1b90b7d0 | |
parent | 2102b2781f13139922f4c2939cabc51a2abce481 (diff) |
C statements (including macros) that do not end in a ; are obtuse.
The do { } while structure in lkm.h was added on purpose. Adjust
the samples
discussed with miod and millert; ok millert
-rw-r--r-- | share/lkm/misc/module/miscmod.c | 4 | ||||
-rw-r--r-- | share/lkm/syscall/module/newsyscall.c | 4 |
2 files changed, 4 insertions, 4 deletions
diff --git a/share/lkm/misc/module/miscmod.c b/share/lkm/misc/module/miscmod.c index 7a5cb73a396..c3026269c0a 100644 --- a/share/lkm/misc/module/miscmod.c +++ b/share/lkm/misc/module/miscmod.c @@ -1,4 +1,4 @@ -/* $OpenBSD: miscmod.c,v 1.4 2008/08/03 21:31:53 kettenis Exp $ */ +/* $OpenBSD: miscmod.c,v 1.5 2009/11/13 22:10:06 deraadt Exp $ */ /* * Makefile for miscmod * @@ -179,7 +179,7 @@ struct lkm_table *lkmtp; int cmd; int ver; { - DISPATCH(lkmtp,cmd,ver,miscmod_handle,miscmod_handle,lkm_nofunc) + DISPATCH(lkmtp,cmd,ver,miscmod_handle,miscmod_handle,lkm_nofunc); } diff --git a/share/lkm/syscall/module/newsyscall.c b/share/lkm/syscall/module/newsyscall.c index ad991d333aa..b4b6a9c0ace 100644 --- a/share/lkm/syscall/module/newsyscall.c +++ b/share/lkm/syscall/module/newsyscall.c @@ -1,4 +1,4 @@ -/* $OpenBSD: newsyscall.c,v 1.3 2008/08/03 21:31:53 kettenis Exp $ */ +/* $OpenBSD: newsyscall.c,v 1.4 2009/11/13 22:10:09 deraadt Exp $ */ /* * Makefile for newsyscall * @@ -105,7 +105,7 @@ struct lkm_table *lkmtp; int cmd; int ver; { - DISPATCH(lkmtp,cmd,ver,newsyscall_load,lkm_nofunc,lkm_nofunc) + DISPATCH(lkmtp,cmd,ver,newsyscall_load,lkm_nofunc,lkm_nofunc); } |