diff options
Diffstat (limited to 'Modules/gcmodule.c')
-rw-r--r-- | Modules/gcmodule.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/Modules/gcmodule.c b/Modules/gcmodule.c index db35b3d..ed846cc 100644 --- a/Modules/gcmodule.c +++ b/Modules/gcmodule.c @@ -32,9 +32,9 @@ /*** Global GC state ***/ /* linked lists of container objects */ -PyGC_Head _PyGC_generation0 = {&_PyGC_generation0, &_PyGC_generation0, 0}; -static PyGC_Head generation1 = {&generation1, &generation1, 0}; -static PyGC_Head generation2 = {&generation2, &generation2, 0}; +PyGC_Head _PyGC_generation0 = {{&_PyGC_generation0, &_PyGC_generation0, 0}}; +static PyGC_Head generation1 = {{&generation1, &generation1, 0}}; +static PyGC_Head generation2 = {{&generation2, &generation2, 0}}; static int generation = 0; /* current generation being collected */ /* collection frequencies, XXX tune these */ |