From: Nicholas Nethercote Date: Fri, 10 Jun 2005 23:16:13 +0000 (+0000) Subject: Move two decls out of core.h into pub_core_syscalls.h where they belong. X-Git-Tag: svn/VALGRIND_3_0_0~444 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=678ed0e0bc9da01f8464632582df267b2e0b918a;p=thirdparty%2Fvalgrind.git Move two decls out of core.h into pub_core_syscalls.h where they belong. git-svn-id: svn://svn.valgrind.org/valgrind/trunk@3874 --- diff --git a/coregrind/core.h b/coregrind/core.h index 88158f1990..7f5146c7f9 100644 --- a/coregrind/core.h +++ b/coregrind/core.h @@ -220,13 +220,6 @@ extern void // Run a thread from beginning to end. extern VgSchedReturnCode VGO_(thread_wrapper)(Word /*ThreadId*/ tid); -// Allocates a stack for the first thread, then runs it, -// as if the thread had been set up by clone() -extern void VGP_(main_thread_wrapper_NORETURN)(ThreadId tid); - -// Return how many bytes of a thread's Valgrind stack are unused -extern SSizeT VGA_(stack_unused)(ThreadId tid); - // wait until all other threads are dead extern void VGA_(reap_threads)(ThreadId self); @@ -300,3 +293,4 @@ extern Bool VGA_(client_requests)(ThreadId tid, UWord *args); /*--------------------------------------------------------------------*/ /*--- end ---*/ /*--------------------------------------------------------------------*/ + diff --git a/coregrind/pub_core_syscalls.h b/coregrind/pub_core_syscalls.h index e54dc2ca9f..1f775aac70 100644 --- a/coregrind/pub_core_syscalls.h +++ b/coregrind/pub_core_syscalls.h @@ -36,6 +36,13 @@ // but also the code that executes them, and related stuff. //-------------------------------------------------------------------- +// Return how many bytes of a thread's Valgrind stack are unused +extern SSizeT VGA_(stack_unused)(ThreadId tid); + +// Allocates a stack for the first thread, then runs it, +// as if the thread had been set up by clone() +extern void VGP_(main_thread_wrapper_NORETURN)(ThreadId tid); + extern HChar* VG_(resolve_filename_nodup)(Int fd); extern HChar* VG_(resolve_filename)(Int fd);