summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--include/gc.h2
-rw-r--r--os_dep.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/include/gc.h b/include/gc.h
index 960481db..a31b7071 100644
--- a/include/gc.h
+++ b/include/gc.h
@@ -1106,7 +1106,7 @@ extern "C" {
|| defined(_WIN32) && !defined(__CYGWIN32__) && !defined(__CYGWIN__))
/* win32S may not free all resources on process exit. */
/* This explicitly deallocates the heap. */
- GC_API void GC_win32_free_heap ();
+ GC_API void GC_win32_free_heap (void);
#endif
#ifdef __cplusplus
diff --git a/os_dep.c b/os_dep.c
index dca79850..2c4e3a8e 100644
--- a/os_dep.c
+++ b/os_dep.c
@@ -1884,7 +1884,7 @@ word bytes;
return(result);
}
-void GC_win32_free_heap ()
+void GC_win32_free_heap (void)
{
if (GC_no_win32_dlls) {
while (GC_n_heap_bases > 0) {