Rename hidden keyword to _Hide

This commit is contained in:
Justine Tunney 2022-11-08 11:39:50 -08:00
parent 251dcb07eb
commit bf7843833f
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
112 changed files with 616 additions and 3290 deletions

View file

@ -5,7 +5,7 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
hidden extern const uint32_t kSha256Tab[64];
_Hide extern const uint32_t kSha256Tab[64];
nodebuginfo forceinline bool32 ismoar(wint_t c) {
return (c & 0300) == 0300;
@ -15,12 +15,12 @@ nodebuginfo forceinline bool32 iscont(wint_t c) {
return (c & 0300) == 0200;
}
char *strstr_sse42(const char *, const char *) strlenesque hidden;
char16_t *strstr16_sse42(const char16_t *, const char16_t *) strlenesque hidden;
char *strstr_sse42(const char *, const char *) strlenesque _Hide;
char16_t *strstr16_sse42(const char16_t *, const char16_t *) strlenesque _Hide;
void *memmem_sse42(const void *, size_t, const void *,
size_t) strlenesque hidden;
size_t) strlenesque _Hide;
void sha256_x86(uint32_t[hasatleast 8], const uint8_t[hasatleast 64],
uint32_t) hidden;
uint32_t) _Hide;
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* !ANSI */

View file

@ -18,7 +18,7 @@
*/
#include "libc/time/time.h"
hidden const unsigned short kMonthYearDay[2][12] = {
_Hide const unsigned short kMonthYearDay[2][12] = {
{0, 31, 59, 90, 120, 151, 181, 212, 243, 273, 304, 334},
{0, 31, 60, 91, 121, 152, 182, 213, 244, 274, 305, 335},
};

View file

@ -20,7 +20,7 @@
#include "libc/macros.internal.h"
#include "libc/nexgen32e/x86info.h"
hidden const struct X86ProcessorModel kX86ProcessorModels[] = {
_Hide const struct X86ProcessorModel kX86ProcessorModels[] = {
/* <SORTED> */
{0x060F, X86_MARCH_CORE2, X86_GRADE_CLIENT},
{0x0616, X86_MARCH_CORE2, X86_GRADE_MOBILE},
@ -79,4 +79,4 @@ hidden const struct X86ProcessorModel kX86ProcessorModels[] = {
/* </SORTED> */
};
hidden const size_t kX86ProcessorModelCount = ARRAYLEN(kX86ProcessorModels);
_Hide const size_t kX86ProcessorModelCount = ARRAYLEN(kX86ProcessorModels);