summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2008-05-16 23:57:42 +0000
committerTom Lane2008-05-16 23:57:42 +0000
commit3951fae51d776d05e871ee5a7beb62fb832985b1 (patch)
treef5a06c11d3124e118382cde6dd5dab2c1df4507f
parent10a3471bed7b57fb986a5be8afdee5f0dda419de (diff)
Fix declarations of pthread functions, missed in recent commit.
-rw-r--r--src/port/pthread-win32.h6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/port/pthread-win32.h b/src/port/pthread-win32.h
index 2e009af1ee9..2a2867344df 100644
--- a/src/port/pthread-win32.h
+++ b/src/port/pthread-win32.h
@@ -10,10 +10,10 @@ DWORD pthread_self(void);
void pthread_setspecific(pthread_key_t, void *);
void *pthread_getspecific(pthread_key_t);
-void pthread_mutex_init(pthread_mutex_t *, void *attr);
-void pthread_mutex_lock(pthread_mutex_t *);
+int pthread_mutex_init(pthread_mutex_t *, void *attr);
+int pthread_mutex_lock(pthread_mutex_t *);
/* blocking */
-void pthread_mutex_unlock(pthread_mutex_t *);
+int pthread_mutex_unlock(pthread_mutex_t *);
#endif