mirror of
https://github.com/GrapheneOS/hardened_malloc.git
synced 2024-10-01 01:36:01 -04:00
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:
parent
af866a7faa
commit
7d75acc62a
@ -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);
|
||||
}
|
||||
|
||||
|
Loading…
Reference in New Issue
Block a user