summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/epoll.c
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2012-11-18 06:17:03 -0500
committerMike Frysinger <vapier@gentoo.org>2012-11-18 06:17:03 -0500
commit290e19f8147d9b3c0166d3520e718ae5603e4cef (patch)
tree3c77d58f8cd8115b861809560e644699341c14ee /libc/sysdeps/linux/common/epoll.c
parent266bdc1f623fe6fe489e5115e0f8ef723705d949 (diff)
drop support for pre ISO-C compilers
This drops __signed, __volatile, and __const. Only the latter was used in the code base, and for uClibc, not consistently. Much of the code used plain "const" which meant "__const" was useless. Really, the point of this is to stay in sync with what glibc did. Signed-off-by: Mike Frysinger <vapier@gentoo.org>
Diffstat (limited to 'libc/sysdeps/linux/common/epoll.c')
-rw-r--r--libc/sysdeps/linux/common/epoll.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/libc/sysdeps/linux/common/epoll.c b/libc/sysdeps/linux/common/epoll.c
index a7781a12b..29b4600d1 100644
--- a/libc/sysdeps/linux/common/epoll.c
+++ b/libc/sysdeps/linux/common/epoll.c
@@ -37,14 +37,14 @@ CANCELLABLE_SYSCALL(int, epoll_wait, (int epfd, struct epoll_event *events, int
# define __NR___syscall_epoll_pwait __NR_epoll_pwait
static __always_inline _syscall6(int, __syscall_epoll_pwait, int, epfd, struct epoll_event *, events,
- int, maxevents, int, timeout, __const sigset_t *, sigmask, size_t, sigsetsize)
+ int, maxevents, int, timeout, const sigset_t *, sigmask, size_t, sigsetsize)
static int __NC(epoll_pwait)(int epfd, struct epoll_event *events, int maxevents, int timeout,
- __const sigset_t *set)
+ const sigset_t *set)
{
return __syscall_epoll_pwait(epfd, events, maxevents, timeout, set, __SYSCALL_SIGSET_T_SIZE);
}
CANCELLABLE_SYSCALL(int, epoll_pwait, (int epfd, struct epoll_event *events, int maxevents, int timeout,
- __const sigset_t *set),
+ const sigset_t *set),
(epfd, events, maxevents, timeout, set))
#endif