mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-04 02:18:37 +00:00
Delete VG_(poll), as it is unused.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5798
This commit is contained in:
parent
e6abeb8b0a
commit
af8a73a7eb
@ -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 )
|
||||
{
|
||||
|
||||
@ -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 );
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user