summaryrefslogtreecommitdiffstats
path: root/lib
diff options
context:
space:
mode:
authorTobias Klauser <tklauser@distanz.ch>2017-01-16 14:06:47 (GMT)
committerTobias Klauser <tklauser@distanz.ch>2017-01-20 08:38:11 (GMT)
commitd13d6e244dab5784f12fb9a0fc9727c2f1d509fd (patch)
treed7c6e69af7eb913105111f28e743f447800c4a7d /lib
parentb1f76801c37459c1b6a88571c9b1cc02a225499e (diff)
downloadlibnl-d13d6e244dab5784f12fb9a0fc9727c2f1d509fd.zip
libnl-d13d6e244dab5784f12fb9a0fc9727c2f1d509fd.tar.gz
libnl-d13d6e244dab5784f12fb9a0fc9727c2f1d509fd.tar.bz2
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>
Diffstat (limited to 'lib')
-rw-r--r--lib/Makefile.am2
1 files changed, 1 insertions, 1 deletions
diff --git a/lib/Makefile.am b/lib/Makefile.am
index fb4b6f1..de76641 100644
--- a/lib/Makefile.am
+++ b/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 \