aboutsummaryrefslogtreecommitdiff
path: root/sim/m4
diff options
context:
space:
mode:
authorMike Frysinger <vapier@gentoo.org>2023-12-21 20:58:51 -0500
committerMike Frysinger <vapier@gentoo.org>2023-12-21 20:58:51 -0500
commitfa113bd940e202d34e473ccc37b45d7bafa2efdd (patch)
treed555da06572526ea3a18e68cf30a7a07f21c4fef /sim/m4
parent06bc778c13c8511ba8bc4c061dd59270c1a5e07c (diff)
downloadgdb-fa113bd940e202d34e473ccc37b45d7bafa2efdd.zip
gdb-fa113bd940e202d34e473ccc37b45d7bafa2efdd.tar.gz
gdb-fa113bd940e202d34e473ccc37b45d7bafa2efdd.tar.bz2
sim: warnings: fix -Wreturn-mismatch typo
Diffstat (limited to 'sim/m4')
-rw-r--r--sim/m4/sim_ac_option_warnings.m42
1 files changed, 1 insertions, 1 deletions
diff --git a/sim/m4/sim_ac_option_warnings.m4 b/sim/m4/sim_ac_option_warnings.m4
index bdb99c4..555bdb0 100644
--- a/sim/m4/sim_ac_option_warnings.m4
+++ b/sim/m4/sim_ac_option_warnings.m4
@@ -68,7 +68,7 @@ build_warnings="$build_warnings
-Wold-style-declaration
-Wold-style-definition
-Wpointer-sign
--WWreturn-mismatch
+-Wreturn-mismatch
-Wstrict-prototypes
dnl The cgen virtual insn logic involves enum conversions.
dnl Disable until we can figure out how to make this work.