From 1ae71a66576028eddf532c574c77e12c193eeebc Mon Sep 17 00:00:00 2001 From: Jakob Kaivo Date: Thu, 21 Apr 2022 19:11:41 -0400 Subject: add prototypes for stdatomic --- src/stdatomic/atomic_load.c | 6 ++++++ 1 file changed, 6 insertions(+) create mode 100644 src/stdatomic/atomic_load.c (limited to 'src/stdatomic/atomic_load.c') diff --git a/src/stdatomic/atomic_load.c b/src/stdatomic/atomic_load.c new file mode 100644 index 00000000..7a181a2b --- /dev/null +++ b/src/stdatomic/atomic_load.c @@ -0,0 +1,6 @@ +#include + +__BASE atomic_store(const volatile __TYPE *object) +{ + return *object; +} -- cgit v1.2.1