projects
/
postgresql.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
10a3471
)
Fix declarations of pthread functions, missed in recent commit.
author
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 16 May 2008 23:57:42 +0000
(23:57 +0000)
committer
Tom Lane
<tgl@sss.pgh.pa.us>
Fri, 16 May 2008 23:57:42 +0000
(23:57 +0000)
src/port/pthread-win32.h
patch
|
blob
|
blame
|
history
diff --git
a/src/port/pthread-win32.h
b/src/port/pthread-win32.h
index 2e009af1ee97357e6e617ff11fb87a68c5d79638..2a2867344df7897fbc55effea1e16bd18bc6e794 100644
(file)
--- 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