Update some stuff related to the syscalls change:
 - restart syscalls which return ERESETARTSYS
 - make code to restart a syscall common
 - keep a process-wide pending signal set to store as-yet
   undelivered signals (only used in 2.4 mode; TODO: siginfo, queues)
 - make execve work a bit better - it is impossible to recover from
   execve failing, so we try to check that it will before running the
   syscall itself (also fixes bug with SuSE 8.2 kernel)


git-svn-id: svn://svn.valgrind.org/valgrind/trunk@1964 a5019735-40e9-0310-863c-91ae7b9d1cf9
diff --git a/include/vg_skin.h b/include/vg_skin.h
index 081bd6c..79ad4aa 100644
--- a/include/vg_skin.h
+++ b/include/vg_skin.h
@@ -435,6 +435,7 @@
 extern Int  VG_(unlink) ( Char* file_name );
 extern Int  VG_(stat)   ( Char* file_name, struct vki_stat* buf );
 extern Int  VG_(fstat)  ( Int   fd,        struct vki_stat* buf );
+extern Int  VG_(dup2)   ( Int oldfd, Int newfd );
 
 extern Char* VG_(getcwd) ( Char* buf, Int size );
 
@@ -514,7 +515,6 @@
 /* other, randomly useful functions */
 extern UInt VG_(read_millisecond_timer) ( void );
 
-
 /*====================================================================*/
 /*=== UCode definition                                             ===*/
 /*====================================================================*/