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

Lines changed: 3 additions & 3 deletions
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)
pFad - Phonifier reborn

Pfad - The Proxy pFad of © 2024 Garber Painting. All rights reserved.

Note: This service is not intended for secure transactions such as banking, social media, email, or purchasing. Use at your own risk. We assume no liability whatsoever for broken pages.


Alternative Proxies:

Alternative Proxy

pFad Proxy

pFad v3 Proxy

pFad v4 Proxy