summaryrefslogtreecommitdiff
path: root/include/sys/select.h
diff options
context:
space:
mode:
authorq662023-12-15 23:48:58 +0100
committerq662023-12-15 23:50:43 +0100
commita018052d410126f94c2602b208b099839d333b05 (patch)
tree6fb36635689a4568f384e1cc7c2ae9f4e617ad58 /include/sys/select.h
parent95441d2647a149ffa6db4a81c0a19e96e3b56ba5 (diff)
Rename some macros to be more namespace-friendly
Diffstat (limited to 'include/sys/select.h')
-rw-r--r--include/sys/select.h6
1 files changed, 3 insertions, 3 deletions
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" {
34 34
35_STI void __fortify_FD_CLR(int __f, fd_set * _FORTIFY_POS0 __s) 35_STI void __fortify_FD_CLR(int __f, fd_set * _FORTIFY_POS0 __s)
36{ 36{
37 __fh_size_t __b = __bos(__s, 0); 37 __fh_size_t __b = __fh_bos(__s, 0);
38 38
39 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) 39 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set))
40 __builtin_trap(); 40 __builtin_trap();
@@ -43,7 +43,7 @@ _STI void __fortify_FD_CLR(int __f, fd_set * _FORTIFY_POS0 __s)
43 43
44_STI void __fortify_FD_SET(int __f, fd_set * _FORTIFY_POS0 __s) 44_STI void __fortify_FD_SET(int __f, fd_set * _FORTIFY_POS0 __s)
45{ 45{
46 __fh_size_t __b = __bos(__s, 0); 46 __fh_size_t __b = __fh_bos(__s, 0);
47 47
48 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) 48 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set))
49 __builtin_trap(); 49 __builtin_trap();
@@ -52,7 +52,7 @@ _STI void __fortify_FD_SET(int __f, fd_set * _FORTIFY_POS0 __s)
52 52
53_STI int __fortify_FD_ISSET(int __f, fd_set * _FORTIFY_POS0 __s) 53_STI int __fortify_FD_ISSET(int __f, fd_set * _FORTIFY_POS0 __s)
54{ 54{
55 __fh_size_t __b = __bos(__s, 0); 55 __fh_size_t __b = __fh_bos(__s, 0);
56 56
57 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) 57 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set))
58 __builtin_trap(); 58 __builtin_trap();