sim: warnings: fix -Wreturn-mismatch typo
authorMike Frysinger <vapier@gentoo.org>
Fri, 22 Dec 2023 01:58:51 +0000 (20:58 -0500)
committerMike Frysinger <vapier@gentoo.org>
Fri, 22 Dec 2023 01:58:51 +0000 (20:58 -0500)
sim/configure
sim/m4/sim_ac_option_warnings.m4

index af37e1d..faa26e4 100755 (executable)
@@ -15845,7 +15845,7 @@ build_warnings="$build_warnings
 -Wold-style-declaration
 -Wold-style-definition
 -Wpointer-sign
--WWreturn-mismatch
+-Wreturn-mismatch
 -Wstrict-prototypes
 -Wno-enum-conversion
 "
index bdb99c4..555bdb0 100644 (file)
@@ -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.