Arthur de Jong

Open Source / Free Software developer

summaryrefslogtreecommitdiffstats
path: root/nslcd
diff options
context:
space:
mode:
authorArthur de Jong <arthur@arthurdejong.org>2013-01-18 14:02:37 +0100
committerArthur de Jong <arthur@arthurdejong.org>2013-01-18 14:02:37 +0100
commitd86497bc393606519eff0900020dec8bf3a6055f (patch)
treea5da17b6f29cbc1c47e6473c343842f3056d9f88 /nslcd
parentfa62cd3946761609f296acfa6d7b44cbf76bbe3d (diff)
use the AX_TLS macro to find correct thread-local storage class compiler directive
git-svn-id: http://arthurdejong.org/svn/nss-pam-ldapd/nss-pam-ldapd@1921 ef36b2f9-881f-0410-afb5-c4e39611909c
Diffstat (limited to 'nslcd')
-rw-r--r--nslcd/log.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/nslcd/log.c b/nslcd/log.c
index 3e70462..6613a4c 100644
--- a/nslcd/log.c
+++ b/nslcd/log.c
@@ -1,7 +1,7 @@
/*
log.c - logging funtions
- Copyright (C) 2002, 2003, 2008, 2010, 2011, 2012 Arthur de Jong
+ Copyright (C) 2002, 2003, 2008, 2010, 2011, 2012, 2013 Arthur de Jong
This library is free software; you can redistribute it and/or
modify it under the terms of the GNU Lesser General Public
@@ -44,10 +44,10 @@ static int prelogging_loglevel = LOG_INFO;
static int loglevel = LOG_INFO;
/* the session id that is set for this thread */
-static __thread char *sessionid = NULL;
+static TLS char *sessionid = NULL;
/* the request identifier that is set for this thread */
-static __thread char *requestid = NULL;
+static TLS char *requestid = NULL;
#define MAX_REQUESTID_LENGTH 40
/* set loglevel when no logging is configured */