summaryrefslogtreecommitdiffhomepage
path: root/compat/shm.h
diff options
context:
space:
mode:
authorStanislaw Halik <sthalik@misaki.pl>2019-02-11 15:52:03 +0100
committerStanislaw Halik <sthalik@misaki.pl>2019-02-11 18:44:03 +0100
commitaa3b01a556a60ce09123e93263642193da86982b (patch)
tree37c89d7e9350c2cb2d8fc48792966af790df0e29 /compat/shm.h
parent1f17378532c24e2442b9fff8ccb5ea0b0936a2c0 (diff)
compat/macros: remove prefix
Let's not be concerned about global namespace pollution. These identifiers aren't exposed in the api/ directory.
Diffstat (limited to 'compat/shm.h')
-rw-r--r--compat/shm.h10
1 files changed, 5 insertions, 5 deletions
diff --git a/compat/shm.h b/compat/shm.h
index 814ce90c..5ea6c80a 100644
--- a/compat/shm.h
+++ b/compat/shm.h
@@ -32,10 +32,10 @@ class OTR_COMPAT_EXPORT shm_wrapper final
#endif
public:
- 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();
+ 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();
inline void* ptr() { return mem; }
};