Enable -Wstrict-prototypes warnings.

This commit is contained in:
Martin Ling
2026-02-06 16:49:28 +00:00
parent ead77b91cf
commit 2ffcc908fb

View File

@@ -92,7 +92,7 @@ SET(LDSCRIPT_M4_RAM "-T${PATH_HACKRF_FIRMWARE_COMMON}/${MCU_PARTNO}_M4_memory.ld
SET(LDSCRIPT_M0 "-T${PATH_HACKRF_FIRMWARE_COMMON}/LPC43xx_M0_memory.ld -Tlibopencm3_lpc43xx_m0.ld")
SET(CFLAGS_COMMON "-Os -g3 -Wall -Wextra ${HACKRF_OPTS} -fno-common -MD")
SET(CFLAGS_COMMON "-Os -g3 -Wall -Wextra -Wstrict-prototypes ${HACKRF_OPTS} -fno-common -MD")
SET(LDFLAGS_COMMON "-nostartfiles -Wl,--gc-sections")
if(V STREQUAL "1")