Browse Source

cut down size of some libc struct members

these are all flags that can be single-byte values.
Rich Felker 4 years ago
parent
commit
f12888e9eb
1 changed files with 3 additions and 3 deletions
  1. 3 3
      src/internal/libc.h

+ 3 - 3
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;