add inline hint to get_size_info
parent
e85c69a0a4
commit
6f9de3e667
2
malloc.c
2
malloc.c
|
@ -151,7 +151,7 @@ struct size_info {
|
||||||
size_t class;
|
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) {
|
if (size == 0) {
|
||||||
return (struct size_info){16, 0};
|
return (struct size_info){16, 0};
|
||||||
}
|
}
|
||||||
|
|
Loading…
Reference in New Issue