diff options
author | Jonathan Chambers <joncham@gmail.com> | 2019-09-17 01:41:13 +0300 |
---|---|---|
committer | Jonathan Chambers <joncham@gmail.com> | 2019-09-17 01:41:13 +0300 |
commit | 5e65935ee214b64d2d311f32df6964c94c86955c (patch) | |
tree | 1a0418a6d9f1d2643bde4faf77a15a908f466d79 | |
parent | b762dda675bc9e90b7693d2cc5b3a7487a20d250 (diff) |
Adjust signature for proper declaration.
-rw-r--r-- | include/gc.h | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/include/gc.h b/include/gc.h index ffb2d37a..13c7c2a9 100644 --- a/include/gc.h +++ b/include/gc.h @@ -2030,8 +2030,8 @@ GC_API void GC_CALL GC_win32_free_heap(void); #endif /* _AMIGA && !GC_AMIGA_MAKINGLIB */ /* Unity specific APIs */ -GC_API void GC_CALL GC_stop_world_external(); -GC_API void GC_CALL GC_start_world_external(); +GC_API void GC_CALL GC_stop_world_external(void); +GC_API void GC_CALL GC_start_world_external(void); GC_API void GC_CALL GC_disable_incremental(void); @@ -2039,7 +2039,7 @@ GC_API void GC_CALL GC_disable_incremental(void); /* These are NOT thread safe, so should be called with GC lock held */ typedef void (*GC_heap_section_proc)(void* user_data, GC_PTR start, GC_PTR end); GC_API void GC_foreach_heap_section(void* user_data, GC_heap_section_proc callback); -GC_API GC_word GC_get_heap_section_count(); +GC_API GC_word GC_get_heap_section_count(void); #ifdef __cplusplus } /* extern "C" */ |