projects
/
openssl.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
Tru64 fixes.
[openssl.git]
/
crypto
/
threads_win.c
diff --git
a/crypto/threads_win.c
b/crypto/threads_win.c
index 741e8f827e97b946b8c1d87502927083c5895a20..63647a39a673dc37e3ab0bd513b82d4cb6331934 100644
(file)
--- a/
crypto/threads_win.c
+++ b/
crypto/threads_win.c
@@
-133,12
+133,12
@@
BOOL CALLBACK once_cb(PINIT_ONCE once, PVOID p, PVOID *pp)
return TRUE;
}
return TRUE;
}
-
void
CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void))
+
int
CRYPTO_THREAD_run_once(CRYPTO_ONCE *once, void (*init)(void))
{
if (InitOnceExecuteOnce(once, once_cb, init, NULL))
{
if (InitOnceExecuteOnce(once, once_cb, init, NULL))
- return
0
;
+ return
1
;
- return
1
;
+ return
0
;
}
# endif
}
# endif