Location via proxy:   [ UP ]  
[Report a bug]   [Manage cookies]                
Skip to content

Commit 3951fae

Browse files
committed
Fix declarations of pthread functions, missed in recent commit.
1 parent 10a3471 commit 3951fae

File tree

1 file changed

+3
-3
lines changed

1 file changed

+3
-3
lines changed

src/port/pthread-win32.h

+3-3
Original file line numberDiff line numberDiff line change
@@ -10,10 +10,10 @@ DWORD pthread_self(void);
1010
void pthread_setspecific(pthread_key_t, void *);
1111
void *pthread_getspecific(pthread_key_t);
1212

13-
void pthread_mutex_init(pthread_mutex_t *, void *attr);
14-
void pthread_mutex_lock(pthread_mutex_t *);
13+
int pthread_mutex_init(pthread_mutex_t *, void *attr);
14+
int pthread_mutex_lock(pthread_mutex_t *);
1515

1616
/* blocking */
17-
void pthread_mutex_unlock(pthread_mutex_t *);
17+
int pthread_mutex_unlock(pthread_mutex_t *);
1818

1919
#endif

0 commit comments

Comments
 (0)