소스 검색

cut down size of some libc struct members

these are all flags that can be single-byte values.
Rich Felker 4 년 전
부모
커밋
f12888e9eb
1개의 변경된 파일3개의 추가작업 그리고 3개의 파일을 삭제
  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;