X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;ds=sidebyside;f=src%2Finternal%2Flibc.h;h=3751cca2a8f2a43f9c9db8f54dd44a0d662d3cde;hb=76fd01177a32d602bc5ee7bd7ba65316adbae611;hp=fb4d9bc0849e6828e47aa6a4229b4f654f8e6c00;hpb=dab441aea240f3b7c18a26d2ef51979ea36c301c;p=musl diff --git a/src/internal/libc.h b/src/internal/libc.h index fb4d9bc0..3751cca2 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -5,6 +5,14 @@ #include #include +struct __locale_map; + +struct __locale_struct { + volatile int ctype_utf8; + char *messages_name; + struct __locale_map *volatile cat[4]; +}; + struct __libc { int has_thread_pointer; int can_do_threads; @@ -13,9 +21,12 @@ struct __libc { size_t *auxv; volatile int threads_minus_1; FILE *ofl_head; - int ofl_lock[2]; + volatile int ofl_lock[2]; size_t tls_size; size_t page_size; + volatile int uselocale_cnt; + volatile int bytelocale_cnt_minus_1; + struct __locale_struct global_locale; }; extern size_t __hwcap;