Skip to content

Commit

Permalink
Browse files Browse the repository at this point in the history
build: Add -Wmissing-prototypes to CPPFLAGS
Now that all -Wmissing-prototypes warnings are fixed, add it to the
default CPPFLAGS.

This should hopefully prevent additions of public functions with wrong
prototype or no prototype at all to the public header.

Signed-off-by: Tobias Klauser <tklauser@distanz.ch>
  • Loading branch information
tklauser committed Jan 20, 2017
1 parent b1f7680 commit d13d6e2
Showing 1 changed file with 1 addition and 1 deletion.
2 changes: 1 addition & 1 deletion lib/Makefile.am
@@ -1,7 +1,7 @@
# -*- Makefile -*-

AM_CPPFLAGS = \
-Wall \
-Wall -Wmissing-prototypes \
-I${top_srcdir}/include/linux-private \
-I${top_srcdir}/include \
-I${top_builddir}/include \
Expand Down

0 comments on commit d13d6e2

Please sign in to comment.