Skip to content

Commit da5f922

Browse files
committed
Fix warning
``` ../../../../ext/rbs_extension/../../src/util/rbs_allocator.c: In function ‘rbs_allocator_init’: ../../../../ext/rbs_extension/../../src/util/rbs_allocator.c:67:18: warning: old-style function definition [-Wold-style-definition] 67 | rbs_allocator_t *rbs_allocator_init() { | ^~~~~~~~~~~~~~~~~~ At top level: ```
1 parent 6b26044 commit da5f922

File tree

1 file changed

+1
-1
lines changed

1 file changed

+1
-1
lines changed

src/util/rbs_allocator.c

Lines changed: 1 addition & 1 deletion
Original file line numberDiff line numberDiff line change
@@ -64,7 +64,7 @@ static rbs_allocator_page_t *rbs_allocator_page_new(size_t payload_size) {
6464
return page;
6565
}
6666

67-
rbs_allocator_t *rbs_allocator_init() {
67+
rbs_allocator_t *rbs_allocator_init(void) {
6868
rbs_allocator_t *allocator = malloc(sizeof(rbs_allocator_t));
6969

7070
const size_t system_page_size = get_system_page_size();

0 commit comments

Comments
 (0)