diff options
author | Eric <ewild@sysmocom.de> | 2023-01-09 17:48:15 +0100 |
---|---|---|
committer | Eric <ewild@sysmocom.de> | 2023-03-07 14:27:59 +0100 |
commit | 573f2fa1b37ce1f124963622b1835fb7c6ebc625 (patch) | |
tree | 6ee62b2816032d47877278dfd9621d1884a8ec80 /src/gsm | |
parent | c657a5028ede03a1bd12498ac2c267635edcdcb8 (diff) |
fix _thread order
As per gnu extension doc ->
https://gcc.gnu.org/onlinedocs/gcc-6.2.0/gcc/Thread-Local.html :
".. When used with extern or static, __thread must appear immediately
after the other storage class specifier."
Change-Id: Ied1d3cf3ad2ff424bd0a2682aff29a8939b419b8
Diffstat (limited to 'src/gsm')
-rw-r--r-- | src/gsm/cbsp.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/src/gsm/cbsp.c b/src/gsm/cbsp.c index 7411056f..28852f6f 100644 --- a/src/gsm/cbsp.c +++ b/src/gsm/cbsp.c @@ -30,7 +30,7 @@ #include <osmocom/gsm/cbsp.h> #include <osmocom/gsm/gsm0808_utils.h> -const __thread char *osmo_cbsp_errstr; +__thread const char *osmo_cbsp_errstr; struct msgb *osmo_cbsp_msgb_alloc(void *ctx, const char *name) { |