summaryrefslogtreecommitdiff
path: root/sim/bfin
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2014-02-19 22:29:37 -0500
committerMike Frysinger <vapier@gentoo.org>2014-03-04 02:54:50 -0500
commit1a8a700e3a6fd88bcd5b3988a1f738da463f5b1b (patch)
tree50769fb7ad5265349ca9713535b7345beab1e698 /sim/bfin
parentf97a10f1dca64077b71e3fc2a83caa8fe1434664 (diff)
downloadbinutils-1a8a700e3a6fd88bcd5b3988a1f738da463f5b1b.tar.gz
binutils-1a8a700e3a6fd88bcd5b3988a1f738da463f5b1b.tar.bz2
binutils-1a8a700e3a6fd88bcd5b3988a1f738da463f5b1b.zip
sim: convert old style prototypes
Most of these prototypes have been killed off, but we have a few left in the sim tree. Clean them up so we can enable the -W flag for it.
Diffstat (limited to 'sim/bfin')
-rw-r--r--sim/bfin/ChangeLog4
-rwxr-xr-xsim/bfin/configure11
2 files changed, 8 insertions, 7 deletions
diff --git a/sim/bfin/ChangeLog b/sim/bfin/ChangeLog
index ddd799bd2e5..eeaa1fc5812 100644
--- a/sim/bfin/ChangeLog
+++ b/sim/bfin/ChangeLog
@@ -1,3 +1,7 @@
+2014-03-04 Mike Frysinger <vapier@gentoo.org>
+
+ * configure: Regenerate.
+
2013-09-23 Alan Modra <amodra@gmail.com>
* configure: Regenerate.
diff --git a/sim/bfin/configure b/sim/bfin/configure
index a50827d1caf..ca4a233a3dc 100755
--- a/sim/bfin/configure
+++ b/sim/bfin/configure
@@ -13350,15 +13350,12 @@ if test "${ERROR_ON_WARNING}" = yes ; then
true
fi
-# The entries after -Wno-pointer-sign are disabled warnings which may
-# be enabled in the future, which can not currently be used to build
-# GDB.
-# NOTE: If you change this list, remember to update
-# gdb/doc/gdbint.texinfo.
build_warnings="-Wall -Wdeclaration-after-statement -Wpointer-arith \
--Wno-pointer-sign \
+-Wpointer-sign \
-Wno-unused -Wunused-value -Wunused-function \
--Wno-switch -Wno-char-subscripts -Wmissing-prototypes"
+-Wno-switch -Wno-char-subscripts -Wmissing-prototypes
+-Wdeclaration-after-statement -Wempty-body -Wmissing-parameter-type \
+-Wold-style-declaration -Wold-style-definition"
# Enable -Wno-format by default when using gcc on mingw since many
# GCC versions complain about %I64.