summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorphk <phk@FreeBSD.org>2005-08-23 20:31:21 +0000
committerphk <phk@FreeBSD.org>2005-08-23 20:31:21 +0000
commitbe7673c35bc07e7d53eb5fa1690f0700b72673fb (patch)
tree34ef817af6d5582fc366dae965fb027310199243
parentc0a34d34c06f5c4ef36134dbfc20a5a95bf518b3 (diff)
downloadFreeBSD-src-be7673c35bc07e7d53eb5fa1690f0700b72673fb.zip
FreeBSD-src-be7673c35bc07e7d53eb5fa1690f0700b72673fb.tar.gz
End the MALLOC_DEFINE macro without the semi-colon, the caller supplies
that. Spotted by: Flexelint
-rw-r--r--sys/sys/malloc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/sys/sys/malloc.h b/sys/sys/malloc.h
index ef0aa17..f1bdedb 100644
--- a/sys/sys/malloc.h
+++ b/sys/sys/malloc.h
@@ -145,7 +145,7 @@ struct malloc_type_header {
SYSINIT(type##_init, SI_SUB_KMEM, SI_ORDER_SECOND, malloc_init, \
type); \
SYSUNINIT(type##_uninit, SI_SUB_KMEM, SI_ORDER_ANY, \
- malloc_uninit, type);
+ malloc_uninit, type)
#define MALLOC_DECLARE(type) \
extern struct malloc_type type[1]
OpenPOWER on IntegriCloud