X-Git-Url: http://nsz.repo.hu/git/?p=musl;a=blobdiff_plain;f=src%2Finternal%2Flibc.h;h=ea863d6730e11cd83ff9db32baea830dacc70be5;hp=78fca47fccd53eb60eb4745442ba2608341e8e7b;hb=c1a9658bd19245ff0fb52d3da567815d822fb622;hpb=4750cf4202c29a895639b89099a7bdbe9ae422b6 diff --git a/src/internal/libc.h b/src/internal/libc.h index 78fca47f..ea863d67 100644 --- a/src/internal/libc.h +++ b/src/internal/libc.h @@ -18,6 +18,7 @@ struct __libc { int ofl_lock[2]; }; +extern size_t __hwcap; #if !defined(__PIC__) || 100*__GNUC__+__GNUC_MINOR__ >= 303 || defined(__PCC__) || defined(__TINYC__) @@ -52,7 +53,6 @@ void __unlockfile(FILE *); #define UNLOCK(x) (libc.threads_minus_1 ? (__unlock(x),1) : ((void)(x),1)) void __synccall(void (*)(void *), void *); -void __synccall_wait(void); int __setxid(int, int, int, int); extern char **__environ; @@ -63,8 +63,7 @@ extern char **__environ; extern __typeof(old) new __attribute__((weak, alias(#old))) #undef LFS64_2 -//#define LFS64_2(x, y) weak_alias(x, y) -#define LFS64_2(x, y) extern __typeof(x) y +#define LFS64_2(x, y) weak_alias(x, y) #undef LFS64 #define LFS64(x) LFS64_2(x, x##64)