Remove _Hide keyword

It never did anything and isn't worthwhile as documentation.
This commit is contained in:
Justine Tunney 2023-07-24 08:31:54 -07:00
parent 4fb6cbc1fe
commit e0c2b91b3e
No known key found for this signature in database
GPG key ID: BE714B4575D6E328
131 changed files with 716 additions and 917 deletions

View file

@ -1,27 +0,0 @@
#ifndef COSMOPOLITAN_LIBC_STR_INTERNAL_H_
#define COSMOPOLITAN_LIBC_STR_INTERNAL_H_
#ifndef __STRICT_ANSI__
#include "libc/str/str.h"
#if !(__ASSEMBLER__ + __LINKER__ + 0)
_Hide extern const uint32_t kSha256Tab[64];
nodebuginfo forceinline bool32 ismoar(wint_t c) {
return (c & 0300) == 0300;
}
nodebuginfo forceinline bool32 iscont(wint_t c) {
return (c & 0300) == 0200;
}
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 _Hide;
void sha256_x86(uint32_t[hasatleast 8], const uint8_t[hasatleast 64],
uint32_t) _Hide;
#endif /* !(__ASSEMBLER__ + __LINKER__ + 0) */
#endif /* !ANSI */
#endif /* COSMOPOLITAN_LIBC_STR_INTERNAL_H_ */

View file

@ -18,7 +18,7 @@
*/
#include "libc/time/time.h"
_Hide const unsigned short kMonthYearDay[2][12] = {
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"
_Hide const struct X86ProcessorModel kX86ProcessorModels[] = {
const struct X86ProcessorModel kX86ProcessorModels[] = {
/* <SORTED> */
{0x060F, X86_MARCH_CORE2, X86_GRADE_CLIENT},
{0x0616, X86_MARCH_CORE2, X86_GRADE_MOBILE},
@ -79,4 +79,4 @@ _Hide const struct X86ProcessorModel kX86ProcessorModels[] = {
/* </SORTED> */
};
_Hide const size_t kX86ProcessorModelCount = ARRAYLEN(kX86ProcessorModels);
const size_t kX86ProcessorModelCount = ARRAYLEN(kX86ProcessorModels);