libspl: kmem.h: mark unused kmem_*() macro arguments used
Reviewed-by: Brian Behlendorf <behlendorf1@llnl.gov> Signed-off-by: Ahelenia Ziemiańska <nabijaczleweli@nabijaczleweli.xyz> Closes #12844
This commit is contained in:
parent
42aaf0e7c4
commit
da5f5ec508
@ -35,8 +35,8 @@ extern "C" {
|
||||
#define KM_SLEEP 0x00000000 /* same as KM_SLEEP */
|
||||
#define KM_NOSLEEP 0x00000001 /* same as KM_NOSLEEP */
|
||||
|
||||
#define kmem_alloc(size, flags) malloc(size)
|
||||
#define kmem_free(ptr, size) free(ptr)
|
||||
#define kmem_alloc(size, flags) ((void) sizeof (flags), malloc(size))
|
||||
#define kmem_free(ptr, size) ((void) sizeof (size), free(ptr))
|
||||
|
||||
#ifdef __cplusplus
|
||||
}
|
||||
|
Loading…
Reference in New Issue
Block a user