Disable -Wstrict-prototypes warning

This commit is contained in:
debing.sun
2025-01-15 21:21:32 +08:00
parent 773f141504
commit 0d6a6dca38
+1 -1
View File
@@ -31,7 +31,7 @@ ifneq (,$(findstring FreeBSD,$(uname_S)))
STD+=-Wno-c11-extensions
endif
endif
WARN=-Wall -W -Wno-missing-field-initializers
WARN=-Wall -W -Wno-missing-field-initializers -Wno-strict-prototypes
OPT=$(OPTIMIZATION)
# Detect if the compiler supports C11 _Atomic.