|
From: Nicholas N. <nj...@cs...> - 2005-06-18 16:09:30
|
On Sat, 18 Jun 2005, Tom Hughes wrote: >> I made it extern because I get this warning when it's static: >> >> m_syscall.c:90: warning: 'do_syscall_WRK' used but never defined >> >> Perhaps it should be extern and renamed VG_(do_syscall_WRK) to avoid >> namespace pollution? > > I think the warning is because it is defined in the inline asm block > and the compiler doesn't realise that it is there. Yes. Making it extern means the compiler is happy to see its declaration without a definition. Nick |