Delete VG_(poll), as it is unused.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5798
This commit is contained in:
Julian Seward 2006-03-28 23:20:38 +00:00
parent e6abeb8b0a
commit af8a73a7eb
2 changed files with 0 additions and 8 deletions

View 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 )
{

View 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 );