From d8e15a91c28866557aa6cf931bd6f8170b35b5d7 Mon Sep 17 00:00:00 2001 From: zachsaw Date: Wed, 14 Nov 2012 21:14:25 +1100 Subject: [PATCH] Update finalize.c Changed C99-style designated init of GC_dl_hashtbl struct to use old C89-style for wider compiler compatibility. --- finalize.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) 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; -- 2.40.0