X-Git-Url: http://nsz.repo.hu/git/?a=blobdiff_plain;f=src%2Finternal%2Flibc.h;h=ea863d6730e11cd83ff9db32baea830dacc70be5;hb=afd209deb7d3bfc9cc31713e2cb8f22693ca6fae;hp=0ec3691e4f512f2b21dda5f238c0584b559e7cc8;hpb=0c29adfe427ab6ed98cb73644f8f52a76045245c;p=musl diff --git a/src/internal/libc.h b/src/internal/libc.h index 0ec3691e..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__) @@ -62,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)