diff options
| author | sin | 2015-03-10 18:04:21 +0000 |
|---|---|---|
| committer | sin | 2015-03-10 18:04:21 +0000 |
| commit | 0362def21a9478be6137e8b21379d87b81110f2d (patch) | |
| tree | aeec307d14c6e105c46c520de240e16e895d615e | |
| parent | 711c366a0d586f67d1394deed8ce101bb0e14f10 (diff) | |
Inline ppoll() as well
| -rw-r--r-- | include/poll.h | 3 |
1 files changed, 2 insertions, 1 deletions
diff --git a/include/poll.h b/include/poll.h index 3a365b1..2f06045 100644 --- a/include/poll.h +++ b/include/poll.h | |||
| @@ -17,7 +17,8 @@ __fortify_poll(struct pollfd *fds, nfds_t nfds, int timeout) | |||
| 17 | } | 17 | } |
| 18 | 18 | ||
| 19 | #ifdef _GNU_SOURCE | 19 | #ifdef _GNU_SOURCE |
| 20 | static int | 20 | static inline __attribute__ ((always_inline)) |
| 21 | int | ||
| 21 | __fortify_ppoll(struct pollfd *fds, nfds_t nfds, | 22 | __fortify_ppoll(struct pollfd *fds, nfds_t nfds, |
| 22 | const struct timespec *timeout, const sigset_t *mask) | 23 | const struct timespec *timeout, const sigset_t *mask) |
| 23 | { | 24 | { |
