From: zachsaw Date: Wed, 14 Nov 2012 10:14:25 +0000 (+1100) Subject: Update finalize.c X-Git-Tag: gc7_4_0~128^2~15 X-Git-Url: https://granicus.if.org/sourcecode?a=commitdiff_plain;h=d8e15a91c28866557aa6cf931bd6f8170b35b5d7;p=gc Update finalize.c Changed C99-style designated init of GC_dl_hashtbl struct to use old C89-style for wider compiler compatibility. --- diff --git a/finalize.c b/finalize.c index 12a20fe6..6ff136b1 100644 --- a/finalize.c +++ b/finalize.c @@ -47,7 +47,7 @@ STATIC struct dl_hashtbl { struct disappearing_link **head; signed_word log_size; word entries; -} GC_dl_hashtbl = {.head = 0, .log_size = -1, .entries = 0}; +} GC_dl_hashtbl = { /* head */ 0, /* log_size */ -1, /* entries */ 0}; STATIC struct finalizable_object { struct hash_chain_entry prolog;