mirror of
https://github.com/jart/cosmopolitan.git
synced 2025-06-03 11:12:27 +00:00
Refactor some code
This commit is contained in:
parent
787b04f752
commit
9b87dd2b87
11 changed files with 43 additions and 10 deletions
|
@ -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;
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue