Enable missing prototypes

Check for missing prototypes like file local functions not declared
static or external functions not being declared to avoid declaration/
definition desynchronizations.

Acked-by: James Carter <jwcart2@gmail.com>
Signed-off-by: Christian Göttsche <cgzones@googlemail.com>
This commit is contained in:
Christian Göttsche 2022-04-05 15:35:48 +02:00 committed by James Carter
parent 0ba7e23189
commit d3c21371d8
1 changed files with 1 additions and 0 deletions

View File

@ -14,6 +14,7 @@ else
-Winit-self \ -Winit-self \
-Wmissing-format-attribute \ -Wmissing-format-attribute \
-Wmissing-noreturn \ -Wmissing-noreturn \
-Wmissing-prototypes \
-Wnull-dereference \ -Wnull-dereference \
-Wpointer-arith \ -Wpointer-arith \
-Wshadow \ -Wshadow \