Try to avoid compiler warnings on AMD64.

git-svn-id: svn://svn.valgrind.org/valgrind/trunk@5065
This commit is contained in:
Nicholas Nethercote 2005-11-10 04:02:19 +00:00
parent 95ff6df5b7
commit 057061d2ae
5 changed files with 5 additions and 5 deletions

View File

@ -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 );

View File

@ -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,

View File

@ -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;

View File

@ -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,

View File

@ -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,