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:
наб 2021-12-12 15:20:26 +01:00 committed by Brian Behlendorf
parent 42aaf0e7c4
commit da5f5ec508

View File

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