summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/select.c
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-11 19:22:42 +0200
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2010-06-11 19:22:42 +0200
commit13433395f2fd808006cd07b05b79cae193c6ecb9 (patch)
treec0b8784782610e4e15c256f70008943ae7d75a6a /libc/sysdeps/linux/common/select.c
parent8642c931a3ef2e944871b32b293df872eb7a1ae0 (diff)
silence some warnings about missing prototypes
Signed-off-by: Bernhard Reutner-Fischer <rep.dot.nop@gmail.com>
Diffstat (limited to 'libc/sysdeps/linux/common/select.c')
-rw-r--r--libc/sysdeps/linux/common/select.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libc/sysdeps/linux/common/select.c b/libc/sysdeps/linux/common/select.c
index 0c2d91984..029fb08a0 100644
--- a/libc/sysdeps/linux/common/select.c
+++ b/libc/sysdeps/linux/common/select.c
@@ -23,7 +23,7 @@ extern __typeof(select) __libc_select;
#if !defined(__NR__newselect) && !defined(__NR_select) && defined __USE_XOPEN2K
# define __NR___libc_pselect6 __NR_pselect6
-_syscall6(int, __libc_pselect6, int, n, fd_set *, readfds, fd_set *, writefds,
+static _syscall6(int, __libc_pselect6, int, n, fd_set *, readfds, fd_set *, writefds,
fd_set *, exceptfds, const struct timespec *, timeout,
const sigset_t *, sigmask)
@@ -71,7 +71,7 @@ int __libc_select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,
# define __NR___syscall_select __NR_select
#endif
-_syscall5(int, __syscall_select, int, n, fd_set *, readfds,
+static _syscall5(int, __syscall_select, int, n, fd_set *, readfds,
fd_set *, writefds, fd_set *, exceptfds, struct timeval *, timeout);
int __libc_select(int n, fd_set *readfds, fd_set *writefds, fd_set *exceptfds,