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

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]