diff options
author | Test_User <hax@andrewyu.org> | 2024-06-18 02:24:18 -0400 |
---|---|---|
committer | Test_User <hax@andrewyu.org> | 2024-06-18 02:24:18 -0400 |
commit | c659e513998394e450bfa39b27adf1fb1347dd99 (patch) | |
tree | 9e1aa53f8a4ff67b288a54a27f66358ba77d5ff2 | |
parent | c82ee1c2cdf492a05e4bf3d3d151205e50c9b603 (diff) | |
download | haxircd-c659e513998394e450bfa39b27adf1fb1347dd99.tar.gz haxircd-c659e513998394e450bfa39b27adf1fb1347dd99.zip |
Fix missing references to mutex functions if the compiler didn't inline them
Diffstat (limited to '')
-rw-r--r-- | mutex.c | 5 |
1 files changed, 5 insertions, 0 deletions
@@ -32,3 +32,8 @@ #else pthread_mutexattr_t pthread_mutexattr; #endif + +extern inline int mutex_init(MUTEX_TYPE *); +extern inline void mutex_lock(MUTEX_TYPE *); +extern inline void mutex_unlock(MUTEX_TYPE *); +extern inline void mutex_destroy(MUTEX_TYPE *); |