aboutsummaryrefslogtreecommitdiffstats
path: root/common/estream.c
diff options
context:
space:
mode:
Diffstat (limited to 'common/estream.c')
-rw-r--r--common/estream.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/common/estream.c b/common/estream.c
index 35b2af047..86d8e21f4 100644
--- a/common/estream.c
+++ b/common/estream.c
@@ -181,13 +181,13 @@ static int estream_pth_killed;
(estream_pth_killed ? dummy_mutex_call_void ((mutex)) \
: (void)pth_mutex_acquire (&(mutex), 0, NULL))
# define ESTREAM_MUTEX_UNLOCK(mutex) \
- (estream_pth_killed ? dummy_mutex_call_void ((mutex)) \
+ (estream_pth_killed ? dummy_mutex_call_int ((mutex)) \
: pth_mutex_release (&(mutex)))
# define ESTREAM_MUTEX_TRYLOCK(mutex) \
(estream_pth_killed ? dummy_mutex_call_int ((mutex)) \
: ((pth_mutex_acquire (&(mutex), 1, NULL) == TRUE)? 0:-1))
# define ESTREAM_MUTEX_INITIALIZE(mutex) \
- (estream_pth_killed ? dummy_mutex_call_void ((mutex)) \
+ (estream_pth_killed ? dummy_mutex_call_int ((mutex)) \
: pth_mutex_init (&(mutex)))
#else /*!HAVE_PTH*/