Make: Add -Wmissing-prototypes
-Wmissing-prototypes is a useful warning, so add it to the build.

With this we can detect conflicting function prototypes. When a file
implements a function but doesn't include the header file which
provides the prototype for it then conflicting prototypes would go
unnoticed without this warning.

MIPS already had that warning, so we can remove it from the MIPS
Makefile.

Signed-off-by: Sascha Hauer <s.hauer@pengutronix.de>
1 parent cac6573 commit 01b9c1d1b0e673bf6444e4a0a01b8126fef9ce68
@Sascha Hauer Sascha Hauer authored on 9 Nov 2018
Showing 2 changed files
View
Makefile
View
arch/mips/Makefile