]> git.ipfire.org Git - thirdparty/samba.git/commit
util_sec.c: Move __thread variable to global scope
authorKhem Raj <raj.khem@gmail.com>
Fri, 6 Sep 2019 04:39:05 +0000 (21:39 -0700)
committerAndreas Schneider <asn@cryptomilk.org>
Tue, 17 Sep 2019 12:31:40 +0000 (12:31 +0000)
commit5a80f399b51221fb0b8661f30d940ca24e1ce627
tree6bfe8157c653958c7a0bbf514960acbcc416a81e
parent98fe813d9cd360f9ac3f9836cd1de9c4a174413f
util_sec.c: Move __thread variable to global scope

Make clang happy otherwise it complains about variable scope

fixes

source3/./lib/util_sec.c:470:4: error: '__thread' variables must have global storage
        } __thread cache;
          ^

Signed-off-by: Khem Raj <raj.khem@gmail.com>
Reviewed-by: Matthias Dieter Wallnöfer <mdw@samba.org>
Reviewed-by: Andreas Schneider <asn@samba.org>
source3/lib/util_sec.c