End the MALLOC_DEFINE macro without the semi-colon, the caller supplies
that. Spotted by: Flexelint
This commit is contained in:
parent
dba31bdea1
commit
fc377cca01
@ -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]
|
||||
|
Loading…
Reference in New Issue
Block a user