diff options
Diffstat (limited to 'tests/objects/bug642809.c-expected')
-rw-r--r-- | tests/objects/bug642809.c-expected | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/objects/bug642809.c-expected b/tests/objects/bug642809.c-expected index 1ca3ce361..fe13d4742 100644 --- a/tests/objects/bug642809.c-expected +++ b/tests/objects/bug642809.c-expected @@ -130,13 +130,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; } Bar* @@ -187,13 +187,13 @@ bar_get_type_once (void) GType bar_get_type (void) { - static volatile gsize bar_type_id__volatile = 0; - if (g_once_init_enter (&bar_type_id__volatile)) { + static volatile gsize bar_type_id__once = 0; + if (g_once_init_enter (&bar_type_id__once)) { GType bar_type_id; bar_type_id = bar_get_type_once (); - g_once_init_leave (&bar_type_id__volatile, bar_type_id); + g_once_init_leave (&bar_type_id__once, bar_type_id); } - return bar_type_id__volatile; + return bar_type_id__once; } static void @@ -252,13 +252,13 @@ manam_get_type_once (void) GType manam_get_type (void) { - static volatile gsize manam_type_id__volatile = 0; - if (g_once_init_enter (&manam_type_id__volatile)) { + static volatile gsize manam_type_id__once = 0; + if (g_once_init_enter (&manam_type_id__once)) { GType manam_type_id; manam_type_id = manam_get_type_once (); - g_once_init_leave (&manam_type_id__volatile, manam_type_id); + g_once_init_leave (&manam_type_id__once, manam_type_id); } - return manam_type_id__volatile; + return manam_type_id__once; } static void |