* breakpoint.c, buildsym.c, c-exp.y, coffread.c, command.c,
core.c, cplus-dem.c, dbxread.c, dwarfread.c, elfread.c, environ.c, eval.c, findvar.c, gdbtypes.c, hppabsd-tdep.c, hppahpux-tdep.c, i386-tdep.c, ieee-float.c, infcmd.c, inflow.c, infptrace.c, infrun.c, m2-exp.y, mipsread.c, objfiles.c, parse.c, procfs.c, putenv.c, remote-mm.c, remote-vx.c, solib.c, sparc-tdep.c, sparc-xdep.c, stack.c, symfile.c, symtab.c, symtab.h, target.c, tm-i386v.h, tm-sparc.h, utils.c, valarith.c, valops.c, valprint.c, values.c, xcoffread.c: Remove "(void)" casts from function calls where the return value is ignored, in accordance with GNU coding standards.
This commit is contained in:
parent
4c7c6bab1f
commit
4ed3a9ea66
35 changed files with 208 additions and 205 deletions
|
@ -251,7 +251,7 @@ vtophys(space, addr)
|
|||
}
|
||||
#ifdef MACHKERNELDEBUG
|
||||
else if (kerneltype == OS_MACH) {
|
||||
(void) mach_vtophys(space, addr, &phys);
|
||||
mach_vtophys(space, addr, &phys);
|
||||
}
|
||||
#endif
|
||||
#if 0
|
||||
|
@ -439,7 +439,7 @@ setup_kernel_debugging()
|
|||
panicstr = kvread(ksym_lookup("panicstr"));
|
||||
if (panicstr == ~0)
|
||||
return;
|
||||
(void) kernel_core_file_hook(panicstr, buf, sizeof(buf));
|
||||
kernel_core_file_hook(panicstr, buf, sizeof(buf));
|
||||
for (cp = buf; cp < &buf[sizeof(buf)] && *cp; cp++)
|
||||
if (!isascii(*cp) || (!isprint(*cp) && !isspace(*cp)))
|
||||
*cp = '?';
|
||||
|
|
Loading…
Add table
Add a link
Reference in a new issue