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

@ -14,8 +14,8 @@ struct msghdr_bsd {
uint32_t msg_flags; /* « different type */
};
ssize_t sys_sendmsg(int, const struct msghdr *, int) hidden;
ssize_t sys_recvmsg(int, struct msghdr *, int) hidden;
ssize_t sys_sendmsg(int, const struct msghdr *, int) _Hide;
ssize_t sys_recvmsg(int, struct msghdr *, int) _Hide;
bool __asan_is_valid_msghdr(const struct msghdr *);
COSMOPOLITAN_C_END_

View file

@ -7,11 +7,11 @@
#if !(__ASSEMBLER__ + __LINKER__ + 0)
COSMOPOLITAN_C_START_
int32_t sys_poll(struct pollfd *, uint64_t, signed) hidden;
int32_t sys_poll(struct pollfd *, uint64_t, signed) _Hide;
int sys_ppoll(struct pollfd *, size_t, const struct timespec *,
const sigset_t *, size_t);
int sys_poll_metal(struct pollfd *, size_t, unsigned);
int sys_poll_nt(struct pollfd *, uint64_t, uint64_t *, const sigset_t *) hidden;
int sys_poll_nt(struct pollfd *, uint64_t, uint64_t *, const sigset_t *) _Hide;
const char *DescribePollFds(char[300], ssize_t, struct pollfd *, size_t);
#define DescribePollFds(x, y, z) DescribePollFds(alloca(300), x, y, z)