diff options
| author | jvoisin | 2023-12-15 16:08:12 +0100 |
|---|---|---|
| committer | jvoisin | 2023-12-15 21:41:08 +0100 |
| commit | 57a3e9c1c7507b5ce56122429cc3649009a4ecc7 (patch) | |
| tree | f4fb73a124fd3de49e5cef291077003d797dc2c9 /include/sys/select.h | |
| parent | 8342bc50a16a2158fef729db6cbfef874734e4dc (diff) | |
Remove superfluous includes
This should fix #32
Diffstat (limited to 'include/sys/select.h')
| -rw-r--r-- | include/sys/select.h | 6 |
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(); |
