From: Nicholas Nethercote Date: Wed, 11 May 2005 22:36:07 +0000 (+0000) Subject: Make VG_(clone)() declaration private to m_syscalls. X-Git-Tag: svn/VALGRIND_3_0_0~652 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=e7da9a43be9275b16af019bde9c2a7ddda62f218;p=thirdparty%2Fvalgrind.git Make VG_(clone)() declaration private to m_syscalls. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3666 --- diff --git a/coregrind/core.h b/coregrind/core.h index 1b9d0d268a..1fffc18570 100644 --- a/coregrind/core.h +++ b/coregrind/core.h @@ -836,8 +836,6 @@ extern Word VG_(do_syscall) ( UInt, UWord, UWord, UWord, UWord, UWord, UWord ); #define vgPlain_do_syscall5(s,a,b,c,d,e) VG_(do_syscall)((s),(a),(b),(c),(d),(e),0) #define vgPlain_do_syscall6(s,a,b,c,d,e,f) VG_(do_syscall)((s),(a),(b),(c),(d),(e),(f)) -extern Int VG_(clone) ( Int (*fn)(void *), void *stack, Int flags, void *arg, - Int *child_tid, Int *parent_tid, vki_modify_ldt_t * ); extern void VG_(sigreturn)(void); /* --------------------------------------------------------------------- diff --git a/coregrind/m_syscalls/priv_syscalls.h b/coregrind/m_syscalls/priv_syscalls.h index 1544aabacf..dd562bb1a3 100644 --- a/coregrind/m_syscalls/priv_syscalls.h +++ b/coregrind/m_syscalls/priv_syscalls.h @@ -75,6 +75,9 @@ extern const UInt VGA_(syscall_table_size); extern void VGA_(restart_syscall)(ThreadArchState* arch); +extern Int VG_(clone) ( Int (*fn)(void *), void *stack, Int flags, void *arg, + Int *child_tid, Int *parent_tid, vki_modify_ldt_t * ); + /* Perform a syscall on behalf of a client thread, using a specific signal mask. On completion, the signal mask is set to restore_mask