diff options
Diffstat (limited to 'source')
-rw-r--r-- | source/kit/allocator.c | 2 | ||||
-rw-r--r-- | source/kit/allocator.h | 2 |
2 files changed, 2 insertions, 2 deletions
diff --git a/source/kit/allocator.c b/source/kit/allocator.c index 1227002..4a31d2f 100644 --- a/source/kit/allocator.c +++ b/source/kit/allocator.c @@ -18,7 +18,7 @@ static void deallocate(void *_, void *pointer) { #endif } -kit_allocator_t kit_alloc_default() { +kit_allocator_t kit_alloc_default(void) { kit_allocator_t alloc = { .state = NULL, .allocate = allocate, .deallocate = deallocate }; diff --git a/source/kit/allocator.h b/source/kit/allocator.h index 4b91444..73eaa38 100644 --- a/source/kit/allocator.h +++ b/source/kit/allocator.h @@ -16,7 +16,7 @@ typedef struct { kit_deallocate_fn deallocate; } kit_allocator_t; -kit_allocator_t kit_alloc_default(); +kit_allocator_t kit_alloc_default(void); #ifdef __cplusplus } |