diff options
Diffstat (limited to 'include/poll.h')
| -rw-r--r-- | include/poll.h | 2 |
1 files changed, 0 insertions, 2 deletions
diff --git a/include/poll.h b/include/poll.h index 10df4b3..8e8de6c 100644 --- a/include/poll.h +++ b/include/poll.h | |||
| @@ -31,7 +31,6 @@ extern "C" { | |||
| 31 | 31 | ||
| 32 | #undef poll | 32 | #undef poll |
| 33 | 33 | ||
| 34 | __diagnose_as_builtin(__builtin_pollfd, 1, 2, 3) | ||
| 35 | _FORTIFY_FN(poll) int poll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, int __s) | 34 | _FORTIFY_FN(poll) int poll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, int __s) |
| 36 | { | 35 | { |
| 37 | size_t __b = __bos(__f, 0); | 36 | size_t __b = __bos(__f, 0); |
| @@ -43,7 +42,6 @@ _FORTIFY_FN(poll) int poll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, int __ | |||
| 43 | 42 | ||
| 44 | #if defined(_GNU_SOURCE) && !_REDIR_TIME64 | 43 | #if defined(_GNU_SOURCE) && !_REDIR_TIME64 |
| 45 | #undef ppoll | 44 | #undef ppoll |
| 46 | __diagnose_as_builtin(__builtin_ppollfd, 1, 2, 3, 4) | ||
| 47 | _FORTIFY_FN(ppoll) int ppoll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, | 45 | _FORTIFY_FN(ppoll) int ppoll(struct pollfd * _FORTIFY_POS0 __f, nfds_t __n, |
| 48 | const struct timespec *__s, const sigset_t *__m) | 46 | const struct timespec *__s, const sigset_t *__m) |
| 49 | { | 47 | { |
