|
From: Nicholas N. <nj...@cs...> - 2005-02-10 01:28:49
|
CVS commit by nethercote:
Fix compiler warnings.
M +1 -1 corecheck/tests/pth_once.c 1.5
M +2 -2 coregrind/vg_syscalls.c 1.245
--- valgrind/corecheck/tests/pth_once.c #1.4:1.5
@@ -47,5 +47,5 @@ void *identify_yourself(void *arg)
pthread_exit((void *)NULL);
}
- printf("identify_yourself: Hi, I'm a thread\n");
+ //printf("identify_yourself: Hi, I'm a thread\n");
return(NULL);
}
--- valgrind/coregrind/vg_syscalls.c #1.244:1.245
@@ -1687,5 +1687,5 @@ PRE(sys_execve, Special)
pre_argv_envp( arg3, tid, "execve(envp)", "execve(envp[i])" );
- path = (const Char *)arg1;
+ path = (Char *)arg1;
/* Erk. If the exec fails, then the following will have made a
@@ -1746,5 +1746,5 @@ PRE(sys_execve, Special)
// Create executable name: "/proc/self/fd/<vgexecfd>", update path
- path = (Addr)VG_(build_child_exename)();
+ path = VG_(build_child_exename)();
}
|