|
From: <sv...@va...> - 2006-03-28 23:20:43
|
Author: sewardj
Date: 2006-03-29 00:20:38 +0100 (Wed, 29 Mar 2006)
New Revision: 5798
Log:
Delete VG_(poll), as it is unused.
Modified:
trunk/coregrind/m_libcproc.c
trunk/coregrind/pub_core_libcproc.h
Modified: trunk/coregrind/m_libcproc.c
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/m_libcproc.c 2006-03-28 12:51:02 UTC (rev 5797)
+++ trunk/coregrind/m_libcproc.c 2006-03-28 23:20:38 UTC (rev 5798)
@@ -225,13 +225,6 @@
return res.isError ? -1 : res.val;
}
=20
-Int VG_(poll)( struct vki_pollfd *ufds, UInt nfds, Int timeout)
-{
- SysRes res =3D 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 )
{
Modified: trunk/coregrind/pub_core_libcproc.h
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=
=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D=3D
--- trunk/coregrind/pub_core_libcproc.h 2006-03-28 12:51:02 UTC (rev 5797=
)
+++ trunk/coregrind/pub_core_libcproc.h 2006-03-28 23:20:38 UTC (rev 5798=
)
@@ -76,7 +76,6 @@
extern Char **VG_(env_clone) ( Char **env_clone );
=20
// 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 );
|