]> granicus.if.org Git - gc/commitdiff
Update finalize.c
authorzachsaw <zach.saw@gmail.com>
Wed, 14 Nov 2012 10:14:25 +0000 (21:14 +1100)
committerzachsaw <zach.saw@gmail.com>
Wed, 14 Nov 2012 10:14:25 +0000 (21:14 +1100)
Changed C99-style designated init of GC_dl_hashtbl struct to use old C89-style for wider compiler compatibility.

finalize.c

index 12a20fe6b188ac8911c85e07ce465a88a108bf7c..6ff136b15db06c3bc6fd6663120822c49a915dde 100644 (file)
@@ -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;