diff options
| author | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:12:10 -0500 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2023-11-14 12:12:10 -0500 |
| commit | 920746cbb5d18d8aef284d3fe71a57cd52509117 (patch) | |
| tree | 11b4436a58c077f36b1236f0c702af00c763e3f6 /src/stdatomic | |
| parent | f23336fbc3148105c42eebfa44a22d1164828108 (diff) | |
disable all functions; will strategically reenable them as tested
Diffstat (limited to 'src/stdatomic')
76 files changed, 380 insertions, 0 deletions
diff --git a/src/stdatomic/ATOMIC_BOOL_LOCK_FREE.c b/src/stdatomic/ATOMIC_BOOL_LOCK_FREE.c index b5e024f0..966534b2 100644 --- a/src/stdatomic/ATOMIC_BOOL_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_BOOL_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_BOOL_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_CHAR16_T_LOCK_FREE.c b/src/stdatomic/ATOMIC_CHAR16_T_LOCK_FREE.c index 3cccfddb..7e651e83 100644 --- a/src/stdatomic/ATOMIC_CHAR16_T_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_CHAR16_T_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_CHAR_16_T_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_CHAR32_T_LOCK_FREE.c b/src/stdatomic/ATOMIC_CHAR32_T_LOCK_FREE.c index 36194c3e..8b338429 100644 --- a/src/stdatomic/ATOMIC_CHAR32_T_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_CHAR32_T_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_CHAR32_T_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_CHAR_LOCK_FREE.c b/src/stdatomic/ATOMIC_CHAR_LOCK_FREE.c index 05a512c0..6edf6eac 100644 --- a/src/stdatomic/ATOMIC_CHAR_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_CHAR_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_CHAR_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_INT_LOCK_FREE.c b/src/stdatomic/ATOMIC_INT_LOCK_FREE.c index 84a83ca2..2dc2c968 100644 --- a/src/stdatomic/ATOMIC_INT_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_INT_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_INT_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_LLONG_LOCK_FREE.c b/src/stdatomic/ATOMIC_LLONG_LOCK_FREE.c index 5f85e906..f5d61400 100644 --- a/src/stdatomic/ATOMIC_LLONG_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_LLONG_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_LLONG_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_LONG_LOCK_FREE.c b/src/stdatomic/ATOMIC_LONG_LOCK_FREE.c index 5d75eb30..b9493e80 100644 --- a/src/stdatomic/ATOMIC_LONG_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_LONG_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_LONG_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_POINTER_LOCK_FREE.c b/src/stdatomic/ATOMIC_POINTER_LOCK_FREE.c index 0d4dddd1..20cbd5df 100644 --- a/src/stdatomic/ATOMIC_POINTER_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_POINTER_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_POINTER_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_SHORT_LOCK_FREE.c b/src/stdatomic/ATOMIC_SHORT_LOCK_FREE.c index 30ef612d..b86db863 100644 --- a/src/stdatomic/ATOMIC_SHORT_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_SHORT_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_SHORT_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/ATOMIC_WCHAR_T_LOCK_FREE.c b/src/stdatomic/ATOMIC_WCHAR_T_LOCK_FREE.c index ed616a2d..8b0e3e3b 100644 --- a/src/stdatomic/ATOMIC_WCHAR_T_LOCK_FREE.c +++ b/src/stdatomic/ATOMIC_WCHAR_T_LOCK_FREE.c @@ -1 +1,6 @@ +#if 0 + #define ATOMIC_WCHAR_T_LOCK_FREE (1) + + +#endif diff --git a/src/stdatomic/atomic_bool.c b/src/stdatomic/atomic_bool.c index a8c73d6b..60c86680 100644 --- a/src/stdatomic/atomic_bool.c +++ b/src/stdatomic/atomic_bool.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic _Bool atomic_bool; + + +#endif diff --git a/src/stdatomic/atomic_char.c b/src/stdatomic/atomic_char.c index e7e2b659..36b0ca0c 100644 --- a/src/stdatomic/atomic_char.c +++ b/src/stdatomic/atomic_char.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic char atomic_char; + + +#endif diff --git a/src/stdatomic/atomic_char16_t.c b/src/stdatomic/atomic_char16_t.c index e160909f..2d6db114 100644 --- a/src/stdatomic/atomic_char16_t.c +++ b/src/stdatomic/atomic_char16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic char16_t atomic_char16_t; + + +#endif diff --git a/src/stdatomic/atomic_char32_t.c b/src/stdatomic/atomic_char32_t.c index 188e7de8..bc414da4 100644 --- a/src/stdatomic/atomic_char32_t.c +++ b/src/stdatomic/atomic_char32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic char32_t atomic_char32_t; + + +#endif diff --git a/src/stdatomic/atomic_compare_exchange_strong.c b/src/stdatomic/atomic_compare_exchange_strong.c index 43877395..ea53fee0 100644 --- a/src/stdatomic/atomic_compare_exchange_strong.c +++ b/src/stdatomic/atomic_compare_exchange_strong.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> #include <stdbool.h> @@ -11,3 +13,6 @@ _Bool atomic_compare_exchange_strong(volatile __TYPE *object, __BASE *expected, memcpy(expected, object, sizeof(*object)); return false; } + + +#endif diff --git a/src/stdatomic/atomic_compare_exchange_strong_explicit.c b/src/stdatomic/atomic_compare_exchange_strong_explicit.c index 6e63cd13..cd973f6c 100644 --- a/src/stdatomic/atomic_compare_exchange_strong_explicit.c +++ b/src/stdatomic/atomic_compare_exchange_strong_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> #include <stdbool.h> @@ -21,3 +23,6 @@ _Bool atomic_compare_exchange_strong_explicit(volatile __TYPE *object, __BASE *e memcpy(expected, object, sizeof(*object)); return false; } + + +#endif diff --git a/src/stdatomic/atomic_compare_exchange_weak.c b/src/stdatomic/atomic_compare_exchange_weak.c index e123304e..1068a0a2 100644 --- a/src/stdatomic/atomic_compare_exchange_weak.c +++ b/src/stdatomic/atomic_compare_exchange_weak.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> #include <stdbool.h> @@ -11,3 +13,6 @@ _Bool atomic_compare_exchange_weak(volatile __TYPE *object, __BASE *expected, __ memcpy(expected, object, sizeof(*object)); return false; } + + +#endif diff --git a/src/stdatomic/atomic_compare_exchange_weak_explicit.c b/src/stdatomic/atomic_compare_exchange_weak_explicit.c index 74a4836c..7b3fc71b 100644 --- a/src/stdatomic/atomic_compare_exchange_weak_explicit.c +++ b/src/stdatomic/atomic_compare_exchange_weak_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> #include <stdbool.h> @@ -21,3 +23,6 @@ _Bool atomic_compare_exchange_weak_explicit(volatile __TYPE *object, __BASE *exp memcpy(expected, object, sizeof(*object)); return false; } + + +#endif diff --git a/src/stdatomic/atomic_exchange.c b/src/stdatomic/atomic_exchange.c index f5124d18..ccc36265 100644 --- a/src/stdatomic/atomic_exchange.c +++ b/src/stdatomic/atomic_exchange.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> __BASE atomic_exchange(volatile __TYPE *object, __BASE desired) { return *object = desired; } + + +#endif diff --git a/src/stdatomic/atomic_exchange_explicit.c b/src/stdatomic/atomic_exchange_explicit.c index 392f5ee9..956a6bef 100644 --- a/src/stdatomic/atomic_exchange_explicit.c +++ b/src/stdatomic/atomic_exchange_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> __BASE atomic_exchange_explicit(volatile __TYPE *object, __BASE desired, memory_order order) @@ -9,3 +11,6 @@ __BASE atomic_exchange_explicit(volatile __TYPE *object, __BASE desired, memory_ return *object = desired; } + + +#endif diff --git a/src/stdatomic/atomic_fetch_add.c b/src/stdatomic/atomic_fetch_add.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_add.c +++ b/src/stdatomic/atomic_fetch_add.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_add_explicit.c b/src/stdatomic/atomic_fetch_add_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_add_explicit.c +++ b/src/stdatomic/atomic_fetch_add_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_and.c b/src/stdatomic/atomic_fetch_and.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_and.c +++ b/src/stdatomic/atomic_fetch_and.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_and_explicit.c b/src/stdatomic/atomic_fetch_and_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_and_explicit.c +++ b/src/stdatomic/atomic_fetch_and_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_or.c b/src/stdatomic/atomic_fetch_or.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_or.c +++ b/src/stdatomic/atomic_fetch_or.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_or_explicit.c b/src/stdatomic/atomic_fetch_or_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_or_explicit.c +++ b/src/stdatomic/atomic_fetch_or_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_sub.c b/src/stdatomic/atomic_fetch_sub.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_sub.c +++ b/src/stdatomic/atomic_fetch_sub.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_sub_explicit.c b/src/stdatomic/atomic_fetch_sub_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_sub_explicit.c +++ b/src/stdatomic/atomic_fetch_sub_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_xor.c b/src/stdatomic/atomic_fetch_xor.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_xor.c +++ b/src/stdatomic/atomic_fetch_xor.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_fetch_xor_explicit.c b/src/stdatomic/atomic_fetch_xor_explicit.c index e69de29b..8c3eb914 100644 --- a/src/stdatomic/atomic_fetch_xor_explicit.c +++ b/src/stdatomic/atomic_fetch_xor_explicit.c @@ -0,0 +1,5 @@ +#if 0 + + + +#endif diff --git a/src/stdatomic/atomic_flag.c b/src/stdatomic/atomic_flag.c index 9643dd30..a48580a1 100644 --- a/src/stdatomic/atomic_flag.c +++ b/src/stdatomic/atomic_flag.c @@ -1,2 +1,7 @@ +#if 0 + typedef _Atomic _Bool atomic_flag; + + +#endif diff --git a/src/stdatomic/atomic_flag_clear.c b/src/stdatomic/atomic_flag_clear.c index 6d0de3a9..b59b4334 100644 --- a/src/stdatomic/atomic_flag_clear.c +++ b/src/stdatomic/atomic_flag_clear.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> void atomic_flag_clear(volatile atomic_flag *object) { *object = 0; } + + +#endif diff --git a/src/stdatomic/atomic_flag_clear_explicit.c b/src/stdatomic/atomic_flag_clear_explicit.c index ab24c1d5..966487e7 100644 --- a/src/stdatomic/atomic_flag_clear_explicit.c +++ b/src/stdatomic/atomic_flag_clear_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> void atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order) @@ -5,3 +7,6 @@ void atomic_flag_clear_explicit(volatile atomic_flag *object, memory_order order (void)order; *object = 0; } + + +#endif diff --git a/src/stdatomic/atomic_flag_test_and_set.c b/src/stdatomic/atomic_flag_test_and_set.c index 9cc641cc..345e280f 100644 --- a/src/stdatomic/atomic_flag_test_and_set.c +++ b/src/stdatomic/atomic_flag_test_and_set.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> _Bool atomic_flag_test_and_set(volatile atomic_flag *object) @@ -6,3 +8,6 @@ _Bool atomic_flag_test_and_set(volatile atomic_flag *object) *object == 1; return r; } + + +#endif diff --git a/src/stdatomic/atomic_flag_test_and_set_explicit.c b/src/stdatomic/atomic_flag_test_and_set_explicit.c index f5672471..4ff4335a 100644 --- a/src/stdatomic/atomic_flag_test_and_set_explicit.c +++ b/src/stdatomic/atomic_flag_test_and_set_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_order order) @@ -7,3 +9,6 @@ _Bool atomic_flag_test_and_set_explicit(volatile atomic_flag *object, memory_ord *object = 1; return r; } + + +#endif diff --git a/src/stdatomic/atomic_init.c b/src/stdatomic/atomic_init.c index 13b08963..a2de9aa1 100644 --- a/src/stdatomic/atomic_init.c +++ b/src/stdatomic/atomic_init.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> void atomic_init(volatile __TYPE *obj, __BASE value) { *obj = ATOMIC_VAR_INIT(value); } + + +#endif diff --git a/src/stdatomic/atomic_int.c b/src/stdatomic/atomic_int.c index ad2d8f19..31508356 100644 --- a/src/stdatomic/atomic_int.c +++ b/src/stdatomic/atomic_int.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int atomic_int; + + +#endif diff --git a/src/stdatomic/atomic_int_fast16_t.c b/src/stdatomic/atomic_int_fast16_t.c index 927cc76c..4f88eb3d 100644 --- a/src/stdatomic/atomic_int_fast16_t.c +++ b/src/stdatomic/atomic_int_fast16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_fast16_t atomic_int_fast16_t; + + +#endif diff --git a/src/stdatomic/atomic_int_fast32_t.c b/src/stdatomic/atomic_int_fast32_t.c index c5165f45..bf0d3d91 100644 --- a/src/stdatomic/atomic_int_fast32_t.c +++ b/src/stdatomic/atomic_int_fast32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_fast32_t atomic_int_fast32_t; + + +#endif diff --git a/src/stdatomic/atomic_int_fast64_t.c b/src/stdatomic/atomic_int_fast64_t.c index d426618c..d54a128c 100644 --- a/src/stdatomic/atomic_int_fast64_t.c +++ b/src/stdatomic/atomic_int_fast64_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_fast64_t atomic_int_fast64_t; + + +#endif diff --git a/src/stdatomic/atomic_int_fast8_t.c b/src/stdatomic/atomic_int_fast8_t.c index 6da67f5c..f25e7dda 100644 --- a/src/stdatomic/atomic_int_fast8_t.c +++ b/src/stdatomic/atomic_int_fast8_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_fast8_t atomic_int_fast8_t; + + +#endif diff --git a/src/stdatomic/atomic_int_least16_t.c b/src/stdatomic/atomic_int_least16_t.c index 9f530eee..8302d0d0 100644 --- a/src/stdatomic/atomic_int_least16_t.c +++ b/src/stdatomic/atomic_int_least16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_least16_t atomic_int_least16_t; + + +#endif diff --git a/src/stdatomic/atomic_int_least32_t.c b/src/stdatomic/atomic_int_least32_t.c index 9a4ccbc3..84fe5837 100644 --- a/src/stdatomic/atomic_int_least32_t.c +++ b/src/stdatomic/atomic_int_least32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_least32_t atomic_int_least32_t; + + +#endif diff --git a/src/stdatomic/atomic_int_least64_t.c b/src/stdatomic/atomic_int_least64_t.c index c537446f..37a81c7a 100644 --- a/src/stdatomic/atomic_int_least64_t.c +++ b/src/stdatomic/atomic_int_least64_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_least64_t atomic_int_least64_t; + + +#endif diff --git a/src/stdatomic/atomic_int_least8_t.c b/src/stdatomic/atomic_int_least8_t.c index 98d976e3..551adecc 100644 --- a/src/stdatomic/atomic_int_least8_t.c +++ b/src/stdatomic/atomic_int_least8_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic int_least8_t atomic_int_least8_t; + + +#endif diff --git a/src/stdatomic/atomic_intmax_t.c b/src/stdatomic/atomic_intmax_t.c index ecf22444..329a8577 100644 --- a/src/stdatomic/atomic_intmax_t.c +++ b/src/stdatomic/atomic_intmax_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic intmax_t atomic_intmax_t; + + +#endif diff --git a/src/stdatomic/atomic_intptr_t.c b/src/stdatomic/atomic_intptr_t.c index 86ad6731..9c611640 100644 --- a/src/stdatomic/atomic_intptr_t.c +++ b/src/stdatomic/atomic_intptr_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic intptr_t atomic_intptr_t; + + +#endif diff --git a/src/stdatomic/atomic_is_lock_free.c b/src/stdatomic/atomic_is_lock_free.c index 9fffe7a1..9058cbf8 100644 --- a/src/stdatomic/atomic_is_lock_free.c +++ b/src/stdatomic/atomic_is_lock_free.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> _Bool atomic_is_lock_free(const volatile __TYPE *obj) @@ -5,3 +7,6 @@ _Bool atomic_is_lock_free(const volatile __TYPE *obj) (void)obj; return 1; } + + +#endif diff --git a/src/stdatomic/atomic_llong.c b/src/stdatomic/atomic_llong.c index af3fcf60..6c7eaf0f 100644 --- a/src/stdatomic/atomic_llong.c +++ b/src/stdatomic/atomic_llong.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic llong atomic_llong; + + +#endif diff --git a/src/stdatomic/atomic_load.c b/src/stdatomic/atomic_load.c index 7a181a2b..b42a0480 100644 --- a/src/stdatomic/atomic_load.c +++ b/src/stdatomic/atomic_load.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> __BASE atomic_store(const volatile __TYPE *object) { return *object; } + + +#endif diff --git a/src/stdatomic/atomic_load_explicit.c b/src/stdatomic/atomic_load_explicit.c index f491407f..91646adf 100644 --- a/src/stdatomic/atomic_load_explicit.c +++ b/src/stdatomic/atomic_load_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> __BASE atomic_load_explicit(const volatile __TYPE *object, memory_order order) @@ -15,3 +17,6 @@ __BASE atomic_load_explicit(const volatile __TYPE *object, memory_order order) return *object; } + + +#endif diff --git a/src/stdatomic/atomic_long.c b/src/stdatomic/atomic_long.c index b3237c17..36ed0a76 100644 --- a/src/stdatomic/atomic_long.c +++ b/src/stdatomic/atomic_long.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic long atomic_long; + + +#endif diff --git a/src/stdatomic/atomic_ptrdiff_t.c b/src/stdatomic/atomic_ptrdiff_t.c index e3a327c8..ae9bd452 100644 --- a/src/stdatomic/atomic_ptrdiff_t.c +++ b/src/stdatomic/atomic_ptrdiff_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic ptrdiff_t atomic_ptrdiff_t; + + +#endif diff --git a/src/stdatomic/atomic_schar.c b/src/stdatomic/atomic_schar.c index 9c21171a..d4f86772 100644 --- a/src/stdatomic/atomic_schar.c +++ b/src/stdatomic/atomic_schar.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic signed char atomic_schar; + + +#endif diff --git a/src/stdatomic/atomic_short.c b/src/stdatomic/atomic_short.c index c07aa89c..570bd805 100644 --- a/src/stdatomic/atomic_short.c +++ b/src/stdatomic/atomic_short.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic short atomic_short; + + +#endif diff --git a/src/stdatomic/atomic_signal_fence.c b/src/stdatomic/atomic_signal_fence.c index 0ceec034..acee1c05 100644 --- a/src/stdatomic/atomic_signal_fence.c +++ b/src/stdatomic/atomic_signal_fence.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> void atomic_signal_fence(memory_order order) @@ -24,3 +26,6 @@ void atomic_signal_fence(memory_order order) break; } } + + +#endif diff --git a/src/stdatomic/atomic_size_t.c b/src/stdatomic/atomic_size_t.c index 9bd95806..22878df0 100644 --- a/src/stdatomic/atomic_size_t.c +++ b/src/stdatomic/atomic_size_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic size_t atomic_size_t; + + +#endif diff --git a/src/stdatomic/atomic_store.c b/src/stdatomic/atomic_store.c index 333ff9a7..19bb9e6e 100644 --- a/src/stdatomic/atomic_store.c +++ b/src/stdatomic/atomic_store.c @@ -1,6 +1,11 @@ +#if 0 + #include <stdatomic.h> void atomic_store(volatile __TYPE *object, __BASE desired) { *object = desired; } + + +#endif diff --git a/src/stdatomic/atomic_store_explicit.c b/src/stdatomic/atomic_store_explicit.c index 55c8f5bd..a57f473d 100644 --- a/src/stdatomic/atomic_store_explicit.c +++ b/src/stdatomic/atomic_store_explicit.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> void atomic_store_explicit(volatile __TYPE *object, __BASE desired, memory_order order) @@ -15,3 +17,6 @@ void atomic_store_explicit(volatile __TYPE *object, __BASE desired, memory_order *object = desired; } + + +#endif diff --git a/src/stdatomic/atomic_thread_fence.c b/src/stdatomic/atomic_thread_fence.c index ee26a260..6b70d91e 100644 --- a/src/stdatomic/atomic_thread_fence.c +++ b/src/stdatomic/atomic_thread_fence.c @@ -1,3 +1,5 @@ +#if 0 + #include <stdatomic.h> void atomic_thread_fence(memory_order order) @@ -24,3 +26,6 @@ void atomic_thread_fence(memory_order order) break; } } + + +#endif diff --git a/src/stdatomic/atomic_uchar.c b/src/stdatomic/atomic_uchar.c index 4b6c8b21..18d3a674 100644 --- a/src/stdatomic/atomic_uchar.c +++ b/src/stdatomic/atomic_uchar.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned char atomic_uchar; + + +#endif diff --git a/src/stdatomic/atomic_uint.c b/src/stdatomic/atomic_uint.c index e661eb56..fa26228f 100644 --- a/src/stdatomic/atomic_uint.c +++ b/src/stdatomic/atomic_uint.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned int atomic_uint; + + +#endif diff --git a/src/stdatomic/atomic_uint_fast16_t.c b/src/stdatomic/atomic_uint_fast16_t.c index a0b53e73..6a6e2e2b 100644 --- a/src/stdatomic/atomic_uint_fast16_t.c +++ b/src/stdatomic/atomic_uint_fast16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_fast16_t atomic_uint_fast16_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_fast32_t.c b/src/stdatomic/atomic_uint_fast32_t.c index f7f3038c..2ca3b742 100644 --- a/src/stdatomic/atomic_uint_fast32_t.c +++ b/src/stdatomic/atomic_uint_fast32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_fast32_t atomic_uint_fast32_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_fast64_t.c b/src/stdatomic/atomic_uint_fast64_t.c index 91a22f44..5fefe1c0 100644 --- a/src/stdatomic/atomic_uint_fast64_t.c +++ b/src/stdatomic/atomic_uint_fast64_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_fast64_t atomic_uint_fast64_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_fast8_t.c b/src/stdatomic/atomic_uint_fast8_t.c index 6db80184..f9d97f86 100644 --- a/src/stdatomic/atomic_uint_fast8_t.c +++ b/src/stdatomic/atomic_uint_fast8_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_fast8_t atomic_uint_fast8_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_least16_t.c b/src/stdatomic/atomic_uint_least16_t.c index 0e22b86e..f4ad7591 100644 --- a/src/stdatomic/atomic_uint_least16_t.c +++ b/src/stdatomic/atomic_uint_least16_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_least16_t atomic_uint_least16_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_least32_t.c b/src/stdatomic/atomic_uint_least32_t.c index c251e131..61d95348 100644 --- a/src/stdatomic/atomic_uint_least32_t.c +++ b/src/stdatomic/atomic_uint_least32_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_least32_t atomic_uint_least32_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_least64_t.c b/src/stdatomic/atomic_uint_least64_t.c index 59acb723..aa8d3c26 100644 --- a/src/stdatomic/atomic_uint_least64_t.c +++ b/src/stdatomic/atomic_uint_least64_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_least64_t atomic_uint_least64_t; + + +#endif diff --git a/src/stdatomic/atomic_uint_least8_t.c b/src/stdatomic/atomic_uint_least8_t.c index f804b542..469780d2 100644 --- a/src/stdatomic/atomic_uint_least8_t.c +++ b/src/stdatomic/atomic_uint_least8_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uint_least8_t atomic_uint_least8_t; + + +#endif diff --git a/src/stdatomic/atomic_uintmax_t.c b/src/stdatomic/atomic_uintmax_t.c index 213c79d5..8bfb8441 100644 --- a/src/stdatomic/atomic_uintmax_t.c +++ b/src/stdatomic/atomic_uintmax_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uintmax_t atomic_uintmax_t; + + +#endif diff --git a/src/stdatomic/atomic_uintptr_t.c b/src/stdatomic/atomic_uintptr_t.c index 6d2c6e55..c51e8b85 100644 --- a/src/stdatomic/atomic_uintptr_t.c +++ b/src/stdatomic/atomic_uintptr_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic uintptr_t atomic_uintptr_t; + + +#endif diff --git a/src/stdatomic/atomic_ullong.c b/src/stdatomic/atomic_ullong.c index 8fc02060..20603e0b 100644 --- a/src/stdatomic/atomic_ullong.c +++ b/src/stdatomic/atomic_ullong.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned long long atomic_ullong; + + +#endif diff --git a/src/stdatomic/atomic_ulong.c b/src/stdatomic/atomic_ulong.c index 286192e3..e971d4bb 100644 --- a/src/stdatomic/atomic_ulong.c +++ b/src/stdatomic/atomic_ulong.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned long atomic_ulong; + + +#endif diff --git a/src/stdatomic/atomic_ushort.c b/src/stdatomic/atomic_ushort.c index dfa11c32..680680ff 100644 --- a/src/stdatomic/atomic_ushort.c +++ b/src/stdatomic/atomic_ushort.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic unsigned short atomic_ushort; + + +#endif diff --git a/src/stdatomic/atomic_wchar_t.c b/src/stdatomic/atomic_wchar_t.c index 25ddef12..abd42f48 100644 --- a/src/stdatomic/atomic_wchar_t.c +++ b/src/stdatomic/atomic_wchar_t.c @@ -1 +1,6 @@ +#if 0 + typedef _Atomic wchar_t atomic_wchar_t; + + +#endif |
