aboutsummaryrefslogtreecommitdiff
path: root/pfinet/glue-include
diff options
context:
space:
mode:
authorSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-01 13:53:31 +0100
committerSamuel Thibault <samuel.thibault@ens-lyon.org>2022-01-01 18:05:00 +0100
commita8d51bf0ce26fd26e00338540857f43b8a99e126 (patch)
tree917f249fbf6873280161959c74a71b8edb0f4cea /pfinet/glue-include
parente2b75a67395fbbdd36bb0bceaea2465a2a1fa172 (diff)
downloadhurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.tar.gz
hurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.tar.bz2
hurd-a8d51bf0ce26fd26e00338540857f43b8a99e126.zip
Fix build warnings
No actual behavior change.
Diffstat (limited to 'pfinet/glue-include')
-rw-r--r--pfinet/glue-include/linux/malloc.h2
1 files changed, 1 insertions, 1 deletions
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;