Fix warnings reported by CLANG,

the C warning generator.
This commit is contained in:
Patrick Pelissier committed 2023-12-23 13:16:42 +01:00
1 parent 690fd72c8b
commit d9401371a6
5 files changed
+16 -7

No files matched your search

+1 -1
View File
@@ -681,7 +681,7 @@ typedef struct {
} m_once_t[1];
// Initial value for m_once_t
#define M_ONCE_INIT_VALUE { { ATOMIC_VAR_INIT(0) } }
#define M_ONCE_INIT_VALUE { { M_ATOMIC_VAR_INIT(0) } }
// Call the function exactly once
M_INLINE void m_once_call(m_once_t o, void (*func)(void))