diff options
author | ienkovich <ienkovich@yandex-team.ru> | 2022-02-10 16:47:50 +0300 |
---|---|---|
committer | Daniil Cherednik <dcherednik@yandex-team.ru> | 2022-02-10 16:47:50 +0300 |
commit | 0a579de32b745908473b2cea7c5cd5540bc801f0 (patch) | |
tree | c0748b5dcbade83af788c0abfa89c0383d6b779c /contrib/libs/c-ares/atomic.h | |
parent | 5bd76e73fa8dd777999be2668ff56928cc3dbecb (diff) | |
download | ydb-0a579de32b745908473b2cea7c5cd5540bc801f0.tar.gz |
Restoring authorship annotation for <ienkovich@yandex-team.ru>. Commit 2 of 2.
Diffstat (limited to 'contrib/libs/c-ares/atomic.h')
-rw-r--r-- | contrib/libs/c-ares/atomic.h | 30 |
1 files changed, 15 insertions, 15 deletions
diff --git a/contrib/libs/c-ares/atomic.h b/contrib/libs/c-ares/atomic.h index 2b09f5c5a1..9b26bcdc0b 100644 --- a/contrib/libs/c-ares/atomic.h +++ b/contrib/libs/c-ares/atomic.h @@ -1,15 +1,15 @@ -#ifndef ATOMIC__H -#define ATOMIC__H - -typedef volatile intptr_t atomic_t; - -#ifdef __cplusplus - #define EXTERN_C extern "C" -#else - #define EXTERN_C -#endif - -EXTERN_C void acquire_lock(atomic_t *lock); -EXTERN_C void release_lock(atomic_t *lock); - -#endif +#ifndef ATOMIC__H +#define ATOMIC__H + +typedef volatile intptr_t atomic_t; + +#ifdef __cplusplus + #define EXTERN_C extern "C" +#else + #define EXTERN_C +#endif + +EXTERN_C void acquire_lock(atomic_t *lock); +EXTERN_C void release_lock(atomic_t *lock); + +#endif |