aboutsummaryrefslogtreecommitdiff
path: root/mutex.c
diff options
context:
space:
mode:
authorTest_User <hax@andrewyu.org>2024-06-21 09:02:51 -0400
committerTest_User <hax@andrewyu.org>2024-06-21 19:55:27 -0400
commitfbd7fc576fb73e9c536cc42a7f2d66b96261e1f0 (patch)
tree889d9c868b71c78e79cdf107911153e58eb51478 /mutex.c
parentef6f87193ab6628a2366b004a21c5cb21304c663 (diff)
downloadhaxircd-fbd7fc576fb73e9c536cc42a7f2d66b96261e1f0.tar.gz
haxircd-fbd7fc576fb73e9c536cc42a7f2d66b96261e1f0.zip
-pthread mutex, +semaphores
Diffstat (limited to 'mutex.c')
-rw-r--r--mutex.c7
1 files changed, 1 insertions, 6 deletions
diff --git a/mutex.c b/mutex.c
index bc53356..d2bd860 100644
--- a/mutex.c
+++ b/mutex.c
@@ -28,12 +28,7 @@
#include "mutex.h"
-#ifdef USE_FUTEX
-#else
-pthread_mutexattr_t pthread_mutexattr;
-#endif
-
-extern inline int mutex_init(MUTEX_TYPE *);
+extern inline void 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 *);