summaryrefslogtreecommitdiff
path: root/tests/methods/bug597426.c-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/methods/bug597426.c-expected')
-rw-r--r--tests/methods/bug597426.c-expected8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/methods/bug597426.c-expected b/tests/methods/bug597426.c-expected
index f58cbfae9..f13a81057 100644
--- a/tests/methods/bug597426.c-expected
+++ b/tests/methods/bug597426.c-expected
@@ -91,13 +91,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;
}
static void