From a018052d410126f94c2602b208b099839d333b05 Mon Sep 17 00:00:00 2001 From: q66 Date: Fri, 15 Dec 2023 23:48:58 +0100 Subject: Rename some macros to be more namespace-friendly --- include/poll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/poll.h') diff --git a/include/poll.h b/include/poll.h index 29e5c40..def2c69 100644 --- a/include/poll.h +++ b/include/poll.h @@ -36,7 +36,7 @@ __diagnose_as_builtin(__builtin_poll, 1, 2, 3) #endif _FORTIFY_FN(poll) int poll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, int __s) { - __fh_size_t __b = __bos(__f, 0); + __fh_size_t __b = __fh_bos(__f, 0); if (__n > __b / sizeof(struct pollfd)) __builtin_trap(); @@ -51,7 +51,7 @@ __diagnose_as_builtin(__builtin_ppoll, 1, 2, 3, 4) _FORTIFY_FN(ppoll) int ppoll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, const struct timespec *__s, const sigset_t *__m) { - __fh_size_t __b = __bos(__f, 0); + __fh_size_t __b = __fh_bos(__f, 0); if (__n > __b / sizeof(struct pollfd)) __builtin_trap(); -- cgit v1.3