diff options
author | Philip Withnall <pwithnall@endlessos.org> | 2020-11-11 19:16:30 +0000 |
---|---|---|
committer | Philip Withnall <pwithnall@endlessos.org> | 2020-11-20 14:40:19 +0000 |
commit | 8a87069ff42a0631dce153701cb2ec5e343a958c (patch) | |
tree | b5eaa2ed64b46c525ea28925a9d51953190e1d55 | |
parent | eee7e3c6688f2f1ee9beed5d6d209973c1df387e (diff) | |
download | glib-8a87069ff42a0631dce153701cb2ec5e343a958c.tar.gz |
gtypes: Drop volatile qualifier from gatomicrefcount
This is technically an API break, but since the type is meant to be
opaque (third party code is not meant to treat it like an integer) it
should not cause problems.
Signed-off-by: Philip Withnall <pwithnall@endlessos.org>
Helps: #600
-rw-r--r-- | glib/gtypes.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/glib/gtypes.h b/glib/gtypes.h index 23c5a1295..2c4825582 100644 --- a/glib/gtypes.h +++ b/glib/gtypes.h @@ -550,8 +550,8 @@ struct _GTimeVal glong tv_usec; } GLIB_DEPRECATED_TYPE_IN_2_62_FOR(GDateTime); -typedef gint grefcount; -typedef volatile gint gatomicrefcount; +typedef gint grefcount; +typedef gint gatomicrefcount; /* should be accessed only using atomics */ G_END_DECLS |