diff options
author | Fred Fish <fnf@specifix.com> | 1992-07-04 03:22:08 +0000 |
---|---|---|
committer | Fred Fish <fnf@specifix.com> | 1992-07-04 03:22:08 +0000 |
commit | 4ed3a9ea66ca93b7dea29c5cdc23d80e77e442bb (patch) | |
tree | ab1ee3900e42f9b78e93b188f593963550e21566 /gdb/dbxread.c | |
parent | 4c7c6bab1f8ca0ff46795c843e887171f86731d1 (diff) | |
download | gdb-4ed3a9ea66ca93b7dea29c5cdc23d80e77e442bb.zip gdb-4ed3a9ea66ca93b7dea29c5cdc23d80e77e442bb.tar.gz gdb-4ed3a9ea66ca93b7dea29c5cdc23d80e77e442bb.tar.bz2 |
* 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.
Diffstat (limited to 'gdb/dbxread.c')
-rw-r--r-- | gdb/dbxread.c | 6 |
1 files changed, 3 insertions, 3 deletions
diff --git a/gdb/dbxread.c b/gdb/dbxread.c index d8998db..8cd4d32 100644 --- a/gdb/dbxread.c +++ b/gdb/dbxread.c @@ -424,7 +424,7 @@ add_new_header_file (name, instance) header_files[i].length = 10; header_files[i].vector = (struct type **) xmalloc (10 * sizeof (struct type *)); - (void) memset (header_files[i].vector, 0, 10 * sizeof (struct type *)); + memset (header_files[i].vector, 0, 10 * sizeof (struct type *)); add_this_object_header_file (i); } @@ -1813,7 +1813,7 @@ process_one_symbol (type, desc, valu, name, offset, objfile) } break; /* Ignore repeated SOs */ } - (void) end_symtab (valu, 0, 0, objfile); + end_symtab (valu, 0, 0, objfile); } start_symtab (name, NULL, valu); break; @@ -1872,7 +1872,7 @@ process_one_symbol (type, desc, valu, name, offset, objfile) int i; struct symbol *sym = (struct symbol *) xmmalloc (objfile -> md, sizeof (struct symbol)); - (void) memset (sym, 0, sizeof *sym); + memset (sym, 0, sizeof *sym); SYMBOL_NAME (sym) = savestring (name, strlen (name)); SYMBOL_CLASS (sym) = LOC_BLOCK; SYMBOL_NAMESPACE (sym) = (enum namespace)((long) |