summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorTom Lane2008-05-16 23:57:42 +0000
committerTom Lane2008-05-16 23:57:42 +0000
commit4b32afc56eebd3b23d10018922cc9c86a318d7f2 (patch)
tree67648b348b7fe8d140ed3d9b26746928b10048fc
parent01ff9804fa19a01a17d76150de7a4041f0951103 (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 2e009af1ee..2a2867344d 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