Refactor some code

This commit is contained in:
Justine Tunney 2024-05-22 12:09:55 -07:00
parent 787b04f752
commit 9b87dd2b87
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
11 changed files with 43 additions and 10 deletions

View file

@ -35,6 +35,7 @@
#include "libc/runtime/internal.h"
#include "libc/runtime/runtime.h"
#include "libc/runtime/syslib.internal.h"
#include "libc/stdalign.internal.h"
#include "libc/str/locale.h"
#include "libc/str/str.h"
#include "libc/thread/posixthread.internal.h"
@ -47,7 +48,7 @@
extern unsigned char __tls_mov_nt_rax[];
extern unsigned char __tls_add_nt_rax[];
_Alignas(TLS_ALIGNMENT) static char __static_tls[6016];
alignas(TLS_ALIGNMENT) static char __static_tls[6016];
static unsigned long ParseMask(const char *str) {
int c;