summaryrefslogtreecommitdiff
path: root/include/sys/select.h
diff options
context:
space:
mode:
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 f1cefee..9813bb7 100644
--- a/include/sys/select.h
+++ b/include/sys/select.h
@@ -33,7 +33,7 @@ extern "C" {
33 33
34_STI void __fortify_FD_CLR(int __f, fd_set * _FORTIFY_POS0 __s) 34_STI void __fortify_FD_CLR(int __f, fd_set * _FORTIFY_POS0 __s)
35{ 35{
36 size_t __b = __bos(__s, 0); 36 __fh_size_t __b = __bos(__s, 0);
37 37
38 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) 38 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set))
39 __builtin_trap(); 39 __builtin_trap();
@@ -42,7 +42,7 @@ _STI void __fortify_FD_CLR(int __f, fd_set * _FORTIFY_POS0 __s)
42 42
43_STI void __fortify_FD_SET(int __f, fd_set * _FORTIFY_POS0 __s) 43_STI void __fortify_FD_SET(int __f, fd_set * _FORTIFY_POS0 __s)
44{ 44{
45 size_t __b = __bos(__s, 0); 45 __fh_size_t __b = __bos(__s, 0);
46 46
47 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) 47 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set))
48 __builtin_trap(); 48 __builtin_trap();
@@ -51,7 +51,7 @@ _STI void __fortify_FD_SET(int __f, fd_set * _FORTIFY_POS0 __s)
51 51
52_STI int __fortify_FD_ISSET(int __f, fd_set * _FORTIFY_POS0 __s) 52_STI int __fortify_FD_ISSET(int __f, fd_set * _FORTIFY_POS0 __s)
53{ 53{
54 size_t __b = __bos(__s, 0); 54 __fh_size_t __b = __bos(__s, 0);
55 55
56 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set)) 56 if (__f < 0 || __f >= FD_SETSIZE || __b < sizeof(fd_set))
57 __builtin_trap(); 57 __builtin_trap();