add -Wold-style-definition
authorTom Tromey <tromey@redhat.com>
Mon, 1 Jul 2013 19:52:32 +0000 (19:52 +0000)
committerTom Tromey <tromey@redhat.com>
Mon, 1 Jul 2013 19:52:32 +0000 (19:52 +0000)
commitdd9aa0484e0b935fcf90d12337779e56a31f9352
treef83277282333fe3f75958ec0b934e43e092fc593
parent44d100c3b90473c1995acaf74ee3a424aedb9701
add -Wold-style-definition

This adds -Wold-style-definition to gdb's list of warnings.  This
found a couple of spots where "()" was used where "(void)" is more
correct.

Tested by rebuilding on x86-64 Fedora 18.

* configure.ac (build_warnings): Add -Wold-style-definition.
* configure: Rebuild.
* machoread.c (_initialize_machoread): Use "(void)".
* macrocmd.c (macro_inform_no_debuginfo): Fix formatting;
use "(void)".
gdb/ChangeLog
gdb/configure
gdb/configure.ac
gdb/machoread.c
gdb/macrocmd.c
This page took 0.026163 seconds and 4 git commands to generate.