diff options
author | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-22 13:21:52 +0200 |
---|---|---|
committer | Stanislaw Halik <sthalik@misaki.pl> | 2018-06-26 23:01:53 +0200 |
commit | 519b4a3ae10c96951db917f2439982c7d2391874 (patch) | |
tree | ec55d8a12fa740803e6da2074eec04f465e98ede /compat/shm.h | |
parent | 0f182b791622ad4491c8aabf8edce21a63839bdc (diff) |
compat/macros: rename portability macros
use `cc_xx' rather than awkward synonyms.
Diffstat (limited to 'compat/shm.h')
-rw-r--r-- | compat/shm.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/compat/shm.h b/compat/shm.h index 5ea6c80a..814ce90c 100644 --- a/compat/shm.h +++ b/compat/shm.h @@ -32,10 +32,10 @@ class OTR_COMPAT_EXPORT shm_wrapper final #endif public: - never_inline shm_wrapper(const char *shm_name, const char *mutex_name, int map_size); - never_inline ~shm_wrapper(); - never_inline bool lock(); - never_inline bool unlock(); - never_inline bool success(); + cc_noinline shm_wrapper(const char *shm_name, const char *mutex_name, int map_size); + cc_noinline ~shm_wrapper(); + cc_noinline bool lock(); + cc_noinline bool unlock(); + cc_noinline bool success(); inline void* ptr() { return mem; } }; |