mirror of
https://github.com/Zenithsiz/ftmemsim-valgrind.git
synced 2026-02-03 18:13:01 +00:00
Try to avoid compiler warnings on AMD64.
git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5065
This commit is contained in:
parent
95ff6df5b7
commit
057061d2ae
@ -34,7 +34,7 @@
|
||||
/* requires #include "priv_types_n_macros.h" */
|
||||
|
||||
// Clone-related functions
|
||||
extern Int ML_(start_thread_NORETURN) ( void* arg );
|
||||
extern Word ML_(start_thread_NORETURN) ( void* arg );
|
||||
extern Addr ML_(allocstack) ( ThreadId tid );
|
||||
extern void ML_(call_on_new_stack_0_1) ( Addr stack, Addr retaddr,
|
||||
void (*f)(Word), Word arg1 );
|
||||
|
||||
@ -126,7 +126,7 @@ asm(
|
||||
#define __NR_EXIT VG_STRINGIFY(__NR_exit)
|
||||
|
||||
extern
|
||||
Long do_syscall_clone_amd64_linux ( Long (*fn)(void *),
|
||||
Long do_syscall_clone_amd64_linux ( Word (*fn)(void *),
|
||||
void* stack,
|
||||
Long flags,
|
||||
void* arg,
|
||||
|
||||
@ -198,7 +198,7 @@ static void run_a_thread_NORETURN ( Word tidW )
|
||||
vg_assert(0);
|
||||
}
|
||||
|
||||
Int ML_(start_thread_NORETURN) ( void* arg )
|
||||
Word ML_(start_thread_NORETURN) ( void* arg )
|
||||
{
|
||||
ThreadState* tst = (ThreadState*)arg;
|
||||
ThreadId tid = tst->tid;
|
||||
|
||||
@ -143,7 +143,7 @@ asm(
|
||||
#define __NR_EXIT VG_STRINGIFY(__NR_exit)
|
||||
|
||||
extern
|
||||
ULong do_syscall_clone_ppc32_linux ( Int (*fn)(void *),
|
||||
ULong do_syscall_clone_ppc32_linux ( Word (*fn)(void *),
|
||||
void* stack,
|
||||
Int flags,
|
||||
void* arg,
|
||||
|
||||
@ -128,7 +128,7 @@ asm(
|
||||
#define __NR_EXIT VG_STRINGIFY(__NR_exit)
|
||||
|
||||
extern
|
||||
Int do_syscall_clone_x86_linux ( Int (*fn)(void *),
|
||||
Int do_syscall_clone_x86_linux ( Word (*fn)(void *),
|
||||
void* stack,
|
||||
Int flags,
|
||||
void* arg,
|
||||
|
||||
Loading…
x
Reference in New Issue
Block a user