From a8d51bf0ce26fd26e00338540857f43b8a99e126 Mon Sep 17 00:00:00 2001 From: Samuel Thibault Date: Sat, 1 Jan 2022 13:53:31 +0100 Subject: Fix build warnings No actual behavior change. --- pfinet/glue-include/linux/malloc.h | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'pfinet/glue-include/linux/malloc.h') diff --git a/pfinet/glue-include/linux/malloc.h b/pfinet/glue-include/linux/malloc.h index 46ae1051..276ee8eb 100644 --- a/pfinet/glue-include/linux/malloc.h +++ b/pfinet/glue-include/linux/malloc.h @@ -8,7 +8,7 @@ static inline void *kmalloc (size_t sz, int ignored) { return malloc (sz); } static inline void kfree (void *ptr) { free (ptr); } static inline void kfree_s (void *ptr, size_t sz) { free (ptr); } -#define free(x) kfree(x) /* just don't ask */ +//#define free(x) kfree(x) /* just don't ask */ typedef struct kmem_cache_s kmem_cache_t; -- cgit v1.2.3