summaryrefslogtreecommitdiff
path: root/tests/ordering/constant-struct.c-expected
diff options
context:
space:
mode:
Diffstat (limited to 'tests/ordering/constant-struct.c-expected')
-rw-r--r--tests/ordering/constant-struct.c-expected8
1 files changed, 4 insertions, 4 deletions
diff --git a/tests/ordering/constant-struct.c-expected b/tests/ordering/constant-struct.c-expected
index d85d9c400..79d558cfc 100644
--- a/tests/ordering/constant-struct.c-expected
+++ b/tests/ordering/constant-struct.c-expected
@@ -58,13 +58,13 @@ foo_struct_get_type_once (void)
GType
foo_struct_get_type (void)
{
- static volatile gsize foo_struct_type_id__volatile = 0;
- if (g_once_init_enter (&foo_struct_type_id__volatile)) {
+ static volatile gsize foo_struct_type_id__once = 0;
+ if (g_once_init_enter (&foo_struct_type_id__once)) {
GType foo_struct_type_id;
foo_struct_type_id = foo_struct_get_type_once ();
- g_once_init_leave (&foo_struct_type_id__volatile, foo_struct_type_id);
+ g_once_init_leave (&foo_struct_type_id__once, foo_struct_type_id);
}
- return foo_struct_type_id__volatile;
+ return foo_struct_type_id__once;
}
static void