summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authorRich Felker <dalias@aerifal.cx>2018-10-20 22:44:34 -0400
committerRich Felker <dalias@aerifal.cx>2018-10-20 22:44:34 -0400
commit6753fb68b84cd7155d8b9a3a3bc3eff1ab6a8030 (patch)
tree36fc4ccef8aea07956741bd98183c5fca88cd12b /src
parentd88e5dfa8b989dafff4b748bfb3cba3512c8482e (diff)
downloadmusl-6753fb68b84cd7155d8b9a3a3bc3eff1ab6a8030.tar.gz
remove volatile qualification from category pointers in __locale_struct
commit 63c188ec42e76ff768e81f6b65b11c68fc43351e missed making this change when switching from atomics to locking for modification of the global locale, leaving access to locale structures unnecessarily burdened with the restrictions of volatile. the volatile qualification was originally added in commit 56fbaa3bbe73f12af2bfbbcf2adb196e6f9fe264.
Diffstat (limited to 'src')
-rw-r--r--src/internal/libc.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/internal/libc.h b/src/internal/libc.h
index 10bd66bd..ac97dc7e 100644
--- a/src/internal/libc.h
+++ b/src/internal/libc.h
@@ -8,7 +8,7 @@
struct __locale_map;
struct __locale_struct {
- const struct __locale_map *volatile cat[6];
+ const struct __locale_map *cat[6];
};
struct tls_module {