From: Julian Seward Date: Tue, 28 Mar 2006 23:20:38 +0000 (+0000) Subject: Delete VG_(poll), as it is unused. X-Git-Tag: svn/VALGRIND_3_2_0~161 X-Git-Url: http://git.ipfire.org/?a=commitdiff_plain;h=af8a73a7ebb2aa2e26210191ee59e955c647f71b;p=thirdparty%2Fvalgrind.git Delete VG_(poll), as it is unused. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5798 --- diff --git a/coregrind/m_libcproc.c b/coregrind/m_libcproc.c index 3cddcb4406..e36b06e690 100644 --- a/coregrind/m_libcproc.c +++ b/coregrind/m_libcproc.c @@ -225,13 +225,6 @@ Int VG_(waitpid)(Int pid, Int *status, Int options) return res.isError ? -1 : res.val; } -Int VG_(poll)( struct vki_pollfd *ufds, UInt nfds, Int timeout) -{ - SysRes res = VG_(do_syscall3)(__NR_poll, (UWord)ufds, nfds, timeout); - /* ASSUMES SYSCALL ALWAYS SUCCEEDS */ - return res.val; -} - /* clone the environment */ Char **VG_(env_clone) ( Char **oldenv ) { diff --git a/coregrind/pub_core_libcproc.h b/coregrind/pub_core_libcproc.h index 4742719c9f..d51177ba14 100644 --- a/coregrind/pub_core_libcproc.h +++ b/coregrind/pub_core_libcproc.h @@ -76,7 +76,6 @@ extern void VG_(env_remove_valgrind_env_stuff) ( Char** env ); extern Char **VG_(env_clone) ( Char **env_clone ); // misc -extern Int VG_(poll)( struct vki_pollfd *, UInt nfds, Int timeout); extern void VG_(nanosleep) ( struct vki_timespec * ); extern Int VG_(getgroups)( Int size, UInt* list ); extern Int VG_(ptrace)( Int request, Int pid, void *addr, void *data );