Give an initial value to h_errno_tls, to detect if tls_allocate() is ever called.
git-svn-id: file:///srv/svn/repos/haiku/trunk/current@6475 a95241bf-73f2-0310-859d-f6bbb57e9c96
This commit is contained in:
@@ -16,7 +16,7 @@
|
|||||||
|
|
||||||
#include <TLS.h>
|
#include <TLS.h>
|
||||||
|
|
||||||
static int32 h_errno_tls;
|
static int32 h_errno_tls = -1;
|
||||||
|
|
||||||
void initialize_before(void);
|
void initialize_before(void);
|
||||||
void terminate_after(void);
|
void terminate_after(void);
|
||||||
|
|||||||
Reference in New Issue
Block a user