Comment out unused function.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1338 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/coregrind/arch/x86-linux/vg_libpthread.c b/coregrind/arch/x86-linux/vg_libpthread.c
index 2a9350b..d5641fd 100644
--- a/coregrind/arch/x86-linux/vg_libpthread.c
+++ b/coregrind/arch/x86-linux/vg_libpthread.c
@@ -131,11 +131,13 @@
/*NOTREACHED*/
}
+/* Apparently unused.
static
void my_write ( int fd, const void *buf, int count )
{
my_do_syscall3(__NR_write, fd, (int)buf, count );
}
+*/
/* We need this guy -- it's in valgrind.so. */
extern void VG_(startup) ( void );
diff --git a/coregrind/vg_libpthread.c b/coregrind/vg_libpthread.c
index 2a9350b..d5641fd 100644
--- a/coregrind/vg_libpthread.c
+++ b/coregrind/vg_libpthread.c
@@ -131,11 +131,13 @@
/*NOTREACHED*/
}
+/* Apparently unused.
static
void my_write ( int fd, const void *buf, int count )
{
my_do_syscall3(__NR_write, fd, (int)buf, count );
}
+*/
/* We need this guy -- it's in valgrind.so. */
extern void VG_(startup) ( void );