aboutsummaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--mk/cc.mk3
1 files changed, 2 insertions, 1 deletions
diff --git a/mk/cc.mk b/mk/cc.mk
index c9f7f355..6d47aa62 100644
--- a/mk/cc.mk
+++ b/mk/cc.mk
@@ -26,7 +26,8 @@ _CCFLAGS= -Wall -Wextra -Wimplicit -Wshadow -Wformat=2 \
-Wnested-externs \
-Winline -Wwrite-strings -Wcast-align -Wcast-qual \
-Wpointer-arith \
- -Wdeclaration-after-statement -Wsequence-point
+ -Wdeclaration-after-statement -Wsequence-point \
+ -Werror=implicit-function-declaration
# We should be using -Wredundant-decls, but our library hidden proto stuff
# gives loads of warnings. I don't fully understand it (the hidden proto,