summaryrefslogtreecommitdiffhomepage
path: root/compat/shm.h
diff options
context:
space:
mode:
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 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; }
};