Fix declaration that was activated by commit 285eb318,
authorPhilipp Marek <philipp@marek.priv.at>
Thu, 27 Feb 2014 19:47:53 +0000 (20:47 +0100)
committerPhilipp Marek <philipp@marek.priv.at>
Thu, 27 Feb 2014 19:47:53 +0000 (20:47 +0100)
  "fixes for the detection of GC_start_call_back"

src/c/alloc_2.d

index 51366fd..727539a 100644 (file)
@@ -34,7 +34,7 @@
 static void (*GC_old_start_callback)(void) = NULL;
 #ifdef HAVE_GC_SET_START_CALLBACK
 extern void GC_set_start_callback(void *);
-extern void *GC_get_start_callback(void *);
+extern void *GC_get_start_callback();
 #else
 extern void (*GC_start_call_back)(void);
 #endif