From 37eb2c9c1d71c2ff21605ecaf46cdd926244d361 Mon Sep 17 00:00:00 2001 From: sin Date: Sat, 14 Mar 2015 09:38:11 +0000 Subject: Add __artificial__ to aid in debugging --- include/poll.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'include/poll.h') 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" { extern int __poll_orig(struct pollfd *, nfds_t, int) __asm__(__USER_LABEL_PREFIX__ "poll"); -extern __inline __attribute__((__always_inline__,__gnu_inline__)) +extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) int poll(struct pollfd *fds, nfds_t nfds, int timeout) { __typeof__(sizeof 0) bos = __builtin_object_size(fds, 0); @@ -27,7 +27,7 @@ int poll(struct pollfd *fds, nfds_t nfds, int timeout) #undef ppoll extern int __ppoll_orig(struct pollfd *, nfds_t, const struct timespec *, const sigset_t *) __asm__(__USER_LABEL_PREFIX__ "ppoll"); -extern __inline __attribute__((__always_inline__,__gnu_inline__)) +extern __inline __attribute__((__always_inline__,__gnu_inline__,__artificial__)) int ppoll(struct pollfd *fds, nfds_t nfds, const struct timespec *timeout, const sigset_t *mask) { __typeof__(sizeof 0) bos = __builtin_object_size(fds, 0); -- cgit v1.3