diff options
Diffstat (limited to 'tests/enums/enums.c-expected')
-rw-r--r-- | tests/enums/enums.c-expected | 24 |
1 files changed, 12 insertions, 12 deletions
diff --git a/tests/enums/enums.c-expected b/tests/enums/enums.c-expected index 192a3abc1..a6594015b 100644 --- a/tests/enums/enums.c-expected +++ b/tests/enums/enums.c-expected @@ -83,13 +83,13 @@ maman_foo_get_type_once (void) GType maman_foo_get_type (void) { - static volatile gsize maman_foo_type_id__volatile = 0; - if (g_once_init_enter (&maman_foo_type_id__volatile)) { + static volatile gsize maman_foo_type_id__once = 0; + if (g_once_init_enter (&maman_foo_type_id__once)) { GType maman_foo_type_id; maman_foo_type_id = maman_foo_get_type_once (); - g_once_init_leave (&maman_foo_type_id__volatile, maman_foo_type_id); + g_once_init_leave (&maman_foo_type_id__once, maman_foo_type_id); } - return maman_foo_type_id__volatile; + return maman_foo_type_id__once; } gint @@ -112,13 +112,13 @@ maman_fooish_get_type_once (void) GType maman_fooish_get_type (void) { - static volatile gsize maman_fooish_type_id__volatile = 0; - if (g_once_init_enter (&maman_fooish_type_id__volatile)) { + static volatile gsize maman_fooish_type_id__once = 0; + if (g_once_init_enter (&maman_fooish_type_id__once)) { GType maman_fooish_type_id; maman_fooish_type_id = maman_fooish_get_type_once (); - g_once_init_leave (&maman_fooish_type_id__volatile, maman_fooish_type_id); + g_once_init_leave (&maman_fooish_type_id__once, maman_fooish_type_id); } - return maman_fooish_type_id__volatile; + return maman_fooish_type_id__once; } void @@ -227,12 +227,12 @@ maman_bar_get_type_once (void) GType maman_bar_get_type (void) { - static volatile gsize maman_bar_type_id__volatile = 0; - if (g_once_init_enter (&maman_bar_type_id__volatile)) { + static volatile gsize maman_bar_type_id__once = 0; + if (g_once_init_enter (&maman_bar_type_id__once)) { GType maman_bar_type_id; maman_bar_type_id = maman_bar_get_type_once (); - g_once_init_leave (&maman_bar_type_id__volatile, maman_bar_type_id); + g_once_init_leave (&maman_bar_type_id__once, maman_bar_type_id); } - return maman_bar_type_id__volatile; + return maman_bar_type_id__once; } |