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

13 lines
586 B
Plaintext

$OpenBSD: patch-include_gc_h,v 1.1 2003/11/11 23:49:08 espie Exp $
--- include/gc.h.orig 2003-11-11 19:12:31.000000000 +0100
+++ include/gc.h 2003-11-11 19:15:50.000000000 +0100
@@ -122,7 +122,7 @@ GC_API int GC_java_finalization;
/* ordered finalization. Default value is */
/* determined by JAVA_FINALIZATION macro. */
-GC_API void (* GC_finalizer_notifier)();
+GC_API void (* GC_finalizer_notifier) GC_PROTO((void));
/* Invoked by the collector when there are */
/* objects to be finalized. Invoked at most */
/* once per GC cycle. Never invoked unless */