aboutsummaryrefslogtreecommitdiff
path: root/mutex.c
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-18 02:24:18 -0400
committerTest_User <hax@andrewyu.org>2024-06-18 02:24:18 -0400
commitc659e513998394e450bfa39b27adf1fb1347dd99 (patch)
tree9e1aa53f8a4ff67b288a54a27f66358ba77d5ff2 /mutex.c
parentc82ee1c2cdf492a05e4bf3d3d151205e50c9b603 (diff)
downloadhaxircd-c659e513998394e450bfa39b27adf1fb1347dd99.tar.gz
haxircd-c659e513998394e450bfa39b27adf1fb1347dd99.zip
Fix missing references to mutex functions if the compiler didn't inline them
Diffstat (limited to 'mutex.c')
-rw-r--r--mutex.c5
1 files changed, 5 insertions, 0 deletions
diff --git a/mutex.c b/mutex.c
index ed55826..bc53356 100644
--- a/mutex.c
+++ b/mutex.c
@@ -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 *);