From 290e19f8147d9b3c0166d3520e718ae5603e4cef Mon Sep 17 00:00:00 2001 From: Mike Frysinger Date: Sun, 18 Nov 2012 06:17:03 -0500 Subject: 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 --- libc/sysdeps/linux/common/epoll.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'libc/sysdeps/linux/common/epoll.c') 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 -- cgit v1.2.3