From 2070331f649a1e19021d62d4e3a176dcd40732f4 Mon Sep 17 00:00:00 2001 From: NRK Date: Thu, 19 Oct 2023 18:18:52 +0600 Subject: osdep: remove atomic.h replace it with and replace the mp_atomic_* typedefs with explicit _Atomic qualified types. also add missing config.h includes on some files. --- options/m_config_core.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'options/m_config_core.c') diff --git a/options/m_config_core.c b/options/m_config_core.c index 74a4aa00f7..3357d31ee6 100644 --- a/options/m_config_core.c +++ b/options/m_config_core.c @@ -31,13 +31,13 @@ #include "common/msg.h" #include "common/msg_control.h" #include "misc/dispatch.h" -#include "osdep/atomic.h" +#include // For use with m_config_cache. struct m_config_shadow { pthread_mutex_t lock; // Incremented on every option change. - mp_atomic_uint64 ts; + _Atomic uint64_t ts; // -- immutable after init // List of m_sub_options instances. // Index 0 is the top-level and is always present. -- cgit v1.2.3