From 6f9de3e667ed0c5bc6eb152e95d750c7b7fb26f8 Mon Sep 17 00:00:00 2001 From: Daniel Micay Date: Wed, 29 Aug 2018 15:13:53 -0400 Subject: [PATCH] add inline hint to get_size_info --- malloc.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/malloc.c b/malloc.c index 03e9c07..2ced091 100644 --- a/malloc.c +++ b/malloc.c @@ -151,7 +151,7 @@ struct size_info { size_t class; }; -static struct size_info get_size_info(size_t size) { +static inline struct size_info get_size_info(size_t size) { if (size == 0) { return (struct size_info){16, 0}; }