projects
/
oweals
/
musl.git
/ commitdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
| commitdiff |
tree
raw
|
patch
| inline |
side by side
(parent:
d88e5df
)
remove volatile qualification from category pointers in __locale_struct
author
Rich Felker
<dalias@aerifal.cx>
Sun, 21 Oct 2018 02:44:34 +0000
(22:44 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Sun, 21 Oct 2018 02:44:34 +0000
(22:44 -0400)
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
.
src/internal/libc.h
patch
|
blob
|
history
diff --git
a/src/internal/libc.h
b/src/internal/libc.h
index 10bd66bdf686a2ea517b265c61ff49de36839d78..ac97dc7ebb1ee6fe2bf211121ee019bc14702e21 100644
(file)
--- 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 {