diff options
Diffstat (limited to 'tests/generics/integer-member-access.c-expected')
-rw-r--r-- | tests/generics/integer-member-access.c-expected | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/generics/integer-member-access.c-expected b/tests/generics/integer-member-access.c-expected index 5f73497de..19e803fa4 100644 --- a/tests/generics/integer-member-access.c-expected +++ b/tests/generics/integer-member-access.c-expected @@ -304,13 +304,13 @@ foo_get_type_once (void) GType foo_get_type (void) { - static volatile gsize foo_type_id__volatile = 0; - if (g_once_init_enter (&foo_type_id__volatile)) { + static volatile gsize foo_type_id__once = 0; + if (g_once_init_enter (&foo_type_id__once)) { GType foo_type_id; foo_type_id = foo_get_type_once (); - g_once_init_leave (&foo_type_id__volatile, foo_type_id); + g_once_init_leave (&foo_type_id__once, foo_type_id); } - return foo_type_id__volatile; + return foo_type_id__once; } gpointer |