[systemd-commits] Makefile.am

Lennart Poettering lennart at kemper.freedesktop.org
Sun Dec 15 15:07:42 PST 2013


 Makefile.am |    3 +++
 1 file changed, 3 insertions(+)

New commits:
commit 16f4efb4150c65e3c61adaa8ea512489de49f532
Author: Lennart Poettering <lennart at poettering.net>
Date:   Mon Dec 16 00:04:40 2013 +0100

    build-sys: add cppcheck target
    
    This uses --enable=all mode. Should be taken with a grain of salt
    though. While many recommendations make sense we should probably keep
    "int r" always on function scope, and many of the portability warnings
    really don't matter to us because we only care for Linux/glibc.

diff --git a/Makefile.am b/Makefile.am
index ca4c5f8..fa57559 100644
--- a/Makefile.am
+++ b/Makefile.am
@@ -4966,3 +4966,6 @@ tests += \
 	test-libsystemd-journal-sym \
 	test-libsystemd-login-sym \
 	test-libudev-sym
+
+cppcheck:
+	cppcheck --enable=all $(top_srcdir)



More information about the systemd-commits mailing list