commit | 54e1aacb40c2b92461d529eefcf047e4c7e2afb3 | [log] [tgz] |
---|---|---|
author | Elliott Hughes <enh@google.com> | Wed Mar 05 09:35:10 2025 -0800 |
committer | Elliott Hughes <enh@google.com> | Wed Mar 05 09:35:10 2025 -0800 |
tree | b04a391a0c3cd5b587d6812d3bbb14ee38cf99c0 | |
parent | efe2276999a344f5f96d4a038c72be752b8bce88 [diff] |
Stop using deprecated (and removed in C23) ATOMIC_VAR_INIT(). Change-Id: I608532fc80bc768aab04c55675656157e7949835
diff --git a/libsync/sync.c b/libsync/sync.c index b8c48c7..c4c4472 100644 --- a/libsync/sync.c +++ b/libsync/sync.c
@@ -117,7 +117,7 @@ UAPI_MODERN, UAPI_LEGACY }; -static atomic_int g_uapi_version = ATOMIC_VAR_INIT(UAPI_UNKNOWN); +static atomic_int g_uapi_version = UAPI_UNKNOWN; // ---------------------------------------------------------------------------