Explorar o código

cut down size of some libc struct members

these are all flags that can be single-byte values.
Rich Felker %!s(int64=4) %!d(string=hai) anos
pai
achega
f12888e9eb
Modificáronse 1 ficheiros con 3 adicións e 3 borrados
  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;