Prechádzať zdrojové kódy

cut down size of some libc struct members

these are all flags that can be single-byte values.
Rich Felker 4 rokov pred
rodič
commit
f12888e9eb
1 zmenil súbory, kde vykonal 3 pridanie a 3 odobranie
  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;