extern int strcmp_ci (const char *, const char *);
-const char * tree_error_message = 0;
-const char * tree_error_noise = 0;
+__thread const char * tree_error_message = 0;
+__thread const char * tree_error_noise = 0;
static void
tree_error (const char * message, const char * noise)
tree_node
tree_build (unsigned long high, const char ** names, unsigned long value)
{
- static long bias = 0;
+ static __thread long bias = 0;
if (high > 1)
{
tree_node tree;
#include "config.h"
-extern const char * tree_error_message;
-extern const char * tree_error_noise;
+extern __thread const char * tree_error_message;
+extern __thread const char * tree_error_noise;
typedef struct tree_node_s * tree_node;