From f856b083a794d4b0e7601d940b4bac72d926d604 Mon Sep 17 00:00:00 2001 From: Philippe Houdoin Date: Tue, 3 Feb 2004 00:43:46 +0000 Subject: [PATCH] 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 --- src/kits/network/libnet/compat.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) diff --git a/src/kits/network/libnet/compat.c b/src/kits/network/libnet/compat.c index de5acaf6a7..5e9ede7d3b 100644 --- a/src/kits/network/libnet/compat.c +++ b/src/kits/network/libnet/compat.c @@ -16,7 +16,7 @@ #include -static int32 h_errno_tls; +static int32 h_errno_tls = -1; void initialize_before(void); void terminate_after(void);