]> git.ipfire.org Git - thirdparty/valgrind.git/commitdiff
Delete VG_(poll), as it is unused.
authorJulian Seward <jseward@acm.org>
Tue, 28 Mar 2006 23:20:38 +0000 (23:20 +0000)
committerJulian Seward <jseward@acm.org>
Tue, 28 Mar 2006 23:20:38 +0000 (23:20 +0000)
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5798

coregrind/m_libcproc.c
coregrind/pub_core_libcproc.h

index 3cddcb4406326e136441f27c6d60621111d2ba01..e36b06e690168b1ce845fc5dd6776a0266713a75 100644 (file)
@@ -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 )
 {
index 4742719c9f11076f362e657230c2e2abc2bdf43b..d51177ba14dda7530ed6185dcf93eebb1ad5c2be 100644 (file)
@@ -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 );