openbsd-ports/devel/boehm-gc/patches/patch-finalize_c

13 lines
443 B
Plaintext

$OpenBSD: patch-finalize_c,v 1.1 2003/11/11 23:49:08 espie Exp $
--- finalize.c.orig 2003-11-11 19:15:17.000000000 +0100
+++ finalize.c 2003-11-11 19:15:29.000000000 +0100
@@ -803,7 +803,7 @@ int GC_invoke_finalizers()
return count;
}
-void (* GC_finalizer_notifier)() = (void (*) GC_PROTO((void)))0;
+void (* GC_finalizer_notifier) GC_PROTO((void)) = (void (*) GC_PROTO((void)))0;
static GC_word last_finalizer_notification = 0;