End the MALLOC_DEFINE macro without the semi-colon, the caller supplies

that.

Spotted by:	Flexelint
This commit is contained in:
Poul-Henning Kamp 2005-08-23 20:31:21 +00:00
parent dba31bdea1
commit fc377cca01
Notes: svn2git 2020-12-20 02:59:44 +00:00
svn path=/head/; revision=149397

View File

@ -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]