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:
e01b593
)
cut down size of some libc struct members
author
Rich Felker
<dalias@aerifal.cx>
Fri, 22 May 2020 21:25:38 +0000
(17:25 -0400)
committer
Rich Felker
<dalias@aerifal.cx>
Fri, 22 May 2020 21:39:57 +0000
(17:39 -0400)
these are all flags that can be single-byte values.
src/internal/libc.h
patch
|
blob
|
history
diff --git
a/src/internal/libc.h
b/src/internal/libc.h
index c0614852eb3cee5a13e9d9423d6eef5177a2b332..d47f58e01df958988347a2fcc9fd63ff3703ba19 100644
(file)
--- a/
src/internal/libc.h
+++ b/
src/internal/libc.h
@@
-18,9
+18,9
@@
struct tls_module {
};
struct __libc {
-
int
can_do_threads;
-
int
threaded;
-
int
secure;
+
char
can_do_threads;
+
char
threaded;
+
char
secure;
int threads_minus_1;
size_t *auxv;
struct tls_module *tls_head;