From: Ivan Maidanski Date: Thu, 26 Jan 2012 04:44:15 +0000 (+0400) Subject: Adjust OK_DISCLAIM_INITZ definition X-Git-Tag: gc7_3alpha2~180 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=3210b488b43e7d433c3ce4508005cfb41f97e43f;p=gc Adjust OK_DISCLAIM_INITZ definition * include/private/gc_priv.h (OK_DISCLAIM_INITZ): Replace NULL with 0 for function pointer (in case of ENABLE_DISCLAIM). --- diff --git a/include/private/gc_priv.h b/include/private/gc_priv.h index 8ab53a51..ada5b3e5 100644 --- a/include/private/gc_priv.h +++ b/include/private/gc_priv.h @@ -1266,7 +1266,7 @@ GC_EXTERN struct obj_kind { /* is reclaimed, but must also tolerate being */ /* called with object from freelist. Non-zero */ /* exit prevents object from being reclaimed. */ -# define OK_DISCLAIM_INITZ /* comma */, FALSE, NULL +# define OK_DISCLAIM_INITZ /* comma */, FALSE, 0 # else # define OK_DISCLAIM_INITZ /* empty */ # endif /* !ENABLE_DISCLAIM */