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/sys/select.h | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'include/sys/select.h') diff --git a/include/sys/select.h b/include/sys/select.h index 9e17b19..c8fbb31 100644 --- a/include/sys/select.h +++ b/include/sys/select.h @@ -34,7 +34,7 @@ extern "C" { _STI void __fortify_FD_CLR(int __f, fd_set * _FORTIFY_POS0 __s) { - __fh_size_t __b = __bos(__s, 0); + __fh_size_t __b = __fh_bos(__s, 0); if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) __builtin_trap(); @@ -43,7 +43,7 @@ _STI void __fortify_FD_CLR(int __f, fd_set * _FORTIFY_POS0 __s) _STI void __fortify_FD_SET(int __f, fd_set * _FORTIFY_POS0 __s) { - __fh_size_t __b = __bos(__s, 0); + __fh_size_t __b = __fh_bos(__s, 0); if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) __builtin_trap(); @@ -52,7 +52,7 @@ _STI void __fortify_FD_SET(int __f, fd_set * _FORTIFY_POS0 __s) _STI int __fortify_FD_ISSET(int __f, fd_set * _FORTIFY_POS0 __s) { - __fh_size_t __b = __bos(__s, 0); + __fh_size_t __b = __fh_bos(__s, 0); if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) __builtin_trap(); -- cgit v1.3