aboutsummaryrefslogtreecommitdiff
path: root/Makefile
diff options
context:
space:
mode:
authorCebtenzzre <cebtenzzre@gmail.com>2023-07-26 14:00:04 -0400
committerGitHub <noreply@github.com>2023-07-26 21:00:04 +0300
commit6df1f5940f889adde32fe47dc8881f010dcf9aba (patch)
tree74f101f8065561dceba038d73b112d2bb6974a17 /Makefile
parent5488fb789ea5692268309baa76f67598155060be (diff)
make : build with -Wmissing-prototypes (#2394)
Diffstat (limited to 'Makefile')
-rw-r--r--Makefile3
1 files changed, 2 insertions, 1 deletions
diff --git a/Makefile b/Makefile
index fb7c27c..2035c52 100644
--- a/Makefile
+++ b/Makefile
@@ -63,7 +63,8 @@ ifdef LLAMA_SERVER_VERBOSE
endif
# warnings
-CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith
+CFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wdouble-promotion -Wshadow -Wstrict-prototypes -Wpointer-arith \
+ -Wmissing-prototypes
CXXFLAGS += -Wall -Wextra -Wpedantic -Wcast-qual -Wno-unused-function -Wno-multichar
# OS specific