summaryrefslogtreecommitdiff
path: root/json-glib
diff options
context:
space:
mode:
authorEmmanuele Bassi <ebassi@gnome.org>2021-06-08 17:21:28 +0100
committerEmmanuele Bassi <ebassi@gnome.org>2021-06-08 17:21:28 +0100
commit5a82b621f037a1cedfb56065c182cc9eab2cbbaa (patch)
tree20e2305802e0f49b1c274bb809f16adf34c980de /json-glib
parent73cbc28b2abdc23f1095aac0b5fa179926adf689 (diff)
downloadjson-glib-5a82b621f037a1cedfb56065c182cc9eab2cbbaa.tar.gz
Remove `volatile` from enum registration template
The `volatile` was dropped from the GLib API, as it's useless.
Diffstat (limited to 'json-glib')
-rw-r--r--json-glib/json-enum-types.c.in2
1 files changed, 1 insertions, 1 deletions
diff --git a/json-glib/json-enum-types.c.in b/json-glib/json-enum-types.c.in
index 7b39290..81a342c 100644
--- a/json-glib/json-enum-types.c.in
+++ b/json-glib/json-enum-types.c.in
@@ -18,7 +18,7 @@
GType
@enum_name@_get_type (void)
{
- static volatile gsize g_enum_type_id__volatile = 0;
+ static gsize g_enum_type_id__volatile = 0;
if (g_once_init_enter (&g_enum_type_id__volatile))
{