diff options
| author | sin | 2015-03-14 09:38:11 +0000 |
|---|---|---|
| committer | sin | 2015-03-14 09:38:22 +0000 |
| commit | 37eb2c9c1d71c2ff21605ecaf46cdd926244d361 (patch) | |
| tree | 9670721c2b0caa931efa40f00a64a3fadf6c9619 /include/poll.h | |
| parent | d12254166a55d17932ea4143fbd50fb52539ff8b (diff) | |
Add __artificial__ to aid in debugging
Diffstat (limited to 'include/poll.h')
| -rw-r--r-- | include/poll.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/include/poll.h b/include/poll.h index 6469acb..05228b8 100644 --- a/include/poll.h +++ b/include/poll.h | |||
| @@ -13,7 +13,7 @@ extern "C" { | |||
| 13 | 13 | ||
| 14 | extern int __poll_orig(struct pollfd *, nfds_t, int) | 14 | extern int __poll_orig(struct pollfd *, nfds_t, int) |
| 15 | __asm__(__USER_LABEL_PREFIX__ "poll"); | 15 | __asm__(__USER_LABEL_PREFIX__ "poll"); |
| 16 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 16 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 17 | int poll(struct pollfd *fds, nfds_t nfds, int timeout) | 17 | int poll(struct pollfd *fds, nfds_t nfds, int timeout) |
| 18 | { | 18 | { |
| 19 | __typeof__(sizeof 0) bos = __builtin_object_size(fds, 0); | 19 | __typeof__(sizeof 0) bos = __builtin_object_size(fds, 0); |
| @@ -27,7 +27,7 @@ int poll(struct pollfd *fds, nfds_t nfds, int timeout) | |||
| 27 | #undef ppoll | 27 | #undef ppoll |
| 28 | extern int __ppoll_orig(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *) | 28 | extern int __ppoll_orig(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *) |
| 29 | __asm__(__USER_LABEL_PREFIX__ "ppoll"); | 29 | __asm__(__USER_LABEL_PREFIX__ "ppoll"); |
| 30 | extern __inline __attribute__((__always_inline__,__gnu_inline__)) | 30 | extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) |
| 31 | int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *mask) | 31 | int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *mask) |
| 32 | { | 32 | { |
| 33 | __typeof__(sizeof 0) bos = __builtin_object_size(fds, 0); | 33 | __typeof__(sizeof 0) bos = __builtin_object_size(fds, 0); |
