summaryrefslogtreecommitdiff
path: root/Makefile.am
diff options
context:
space:
mode:
authorThomas Haller <thaller@redhat.com>2017-02-27 12:17:22 +0100
committerThomas Haller <thaller@redhat.com>2017-02-27 14:01:22 +0100
commit5d4a545dec75669f062cfad71b6e61c5536842df (patch)
tree33c4998d7623de6e923d50f052b00aa035862890 /Makefile.am
parent2435d7be0d1b21e77a23fde61685dd9a9e617bcf (diff)
downloadlibnl-5d4a545dec75669f062cfad71b6e61c5536842df.tar.gz
all: enable -Wmissing-prototype warning for all components
Diffstat (limited to 'Makefile.am')
-rw-r--r--Makefile.am4
1 files changed, 2 insertions, 2 deletions
diff --git a/Makefile.am b/Makefile.am
index 76d51e18..06dca96a 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -27,7 +27,8 @@ pkgconfig_DATA = \
libnl-idiag-3.0.pc
warn_cppflags = \
- -Wall
+ -Wall \
+ -Wmissing-prototypes
###############################################################################
@@ -287,7 +288,6 @@ EXTRA_DIST += \
lib_cppflags = \
$(warn_cppflags) \
- -Wmissing-prototypes \
-D_GNU_SOURCE \
-DSYSCONFDIR=\"$(sysconfdir)/libnl\" \
-I$(srcdir)/include/linux-private \