summaryrefslogtreecommitdiff
path: root/libc/sysdeps/linux/common/syscalls.c
diff options
context:
space:
mode:
authorEric Andersen <andersen@codepoet.org>2004-01-21 20:27:25 +0000
committerEric Andersen <andersen@codepoet.org>2004-01-21 20:27:25 +0000
commit3f949b88a055eb2745547f4eae3a86648b8a31e2 (patch)
treeb418bd111536952329c5b87e11526cfec4d270db /libc/sysdeps/linux/common/syscalls.c
parent2fde23582edd0a813b632931801d8c4d3294528f (diff)
Move poll to its own file, rather than being only half in its own file
Diffstat (limited to 'libc/sysdeps/linux/common/syscalls.c')
-rw-r--r--libc/sysdeps/linux/common/syscalls.c11
1 files changed, 1 insertions, 10 deletions
diff --git a/libc/sysdeps/linux/common/syscalls.c b/libc/sysdeps/linux/common/syscalls.c
index 2fb0f97f1..09cbd1f83 100644
--- a/libc/sysdeps/linux/common/syscalls.c
+++ b/libc/sysdeps/linux/common/syscalls.c
@@ -1862,16 +1862,7 @@ int query_module(const char *name, int which,
#endif
//#define __NR_poll 168
-#ifdef L_poll
-#ifdef __NR_poll
-#include <sys/poll.h>
-_syscall3(int, poll, struct pollfd *, fds, unsigned long int, nfds, int,
- timeout);
-#else
-/* uClinux 2.0 doesn't have poll, emulate it using select */
-#include "poll.c"
-#endif
-#endif
+// See poll.c
//#define __NR_nfsservctl 169
//nfsservctl EXTRA nfsservctl i:ipp nfsservctl