summaryrefslogtreecommitdiffstats
path: root/src/api.c
diff options
context:
space:
mode:
Diffstat (limited to 'src/api.c')
-rw-r--r--src/api.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/api.c b/src/api.c
index 947d25c..41f6d3e 100644
--- a/src/api.c
+++ b/src/api.c
@@ -60,7 +60,7 @@ __thread int last_errno;
#define MAXLEN 256
/* the value have to be thread specific */
-__thread char errtext[MAXLEN];
+static __thread char errtext[MAXLEN];
/* Task command name length */
#define TASK_COMM_LEN 16