diff options
| author | Jakob Kaivo <jkk@ung.org> | 2022-04-21 19:11:41 -0400 |
|---|---|---|
| committer | Jakob Kaivo <jkk@ung.org> | 2022-04-21 19:11:41 -0400 |
| commit | 1ae71a66576028eddf532c574c77e12c193eeebc (patch) | |
| tree | eb1e580a8528c3179f3e41a964807875717a4a10 /src/stdatomic/atomic_load.c | |
| parent | 5a2f0c03d2a9cf1a463abe81ac26455e243dc6f3 (diff) | |
add prototypes for stdatomic
Diffstat (limited to 'src/stdatomic/atomic_load.c')
| -rw-r--r-- | src/stdatomic/atomic_load.c | 6 |
1 files changed, 6 insertions, 0 deletions
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 <stdatomic.h> + +__BASE atomic_store(const volatile __TYPE *object) +{ + return *object; +} |
