use strict prototype

h_malloc.c:83:21: error: function declaration isn’t a prototype [-Werror=strict-prototypes]
       83 | static inline void *get_slab_region_end() {
          |                     ^~~~~~~~~~~~~~~~~~~
This commit is contained in:
Christian Göttsche 2022-06-16 19:22:46 +02:00 committed by Daniel Micay
parent af866a7faa
commit 7d75acc62a
1 changed files with 1 additions and 1 deletions

View File

@ -80,7 +80,7 @@ static union {
char padding[PAGE_SIZE];
} ro __attribute__((aligned(PAGE_SIZE)));
static inline void *get_slab_region_end() {
static inline void *get_slab_region_end(void) {
return atomic_load_explicit(&ro.slab_region_end, memory_order_acquire);
}