From: Eric S. Raymond Date: Thu, 21 Nov 2013 01:09:07 +0000 (-0500) Subject: Switch from splint to cppcheck for auditing. Code is clean. X-Git-Tag: 3.13~1 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=0e7651a2d16d38514ffe06cb56871449ec8eec17;p=ascii.git Switch from splint to cppcheck for auditing. Code is clean. --- diff --git a/Makefile b/Makefile index 094c581..22c06a1 100644 --- a/Makefile +++ b/Makefile @@ -26,10 +26,9 @@ ascii.html: ascii.xml clean: rm -f ascii ascii.o splashscreen.h nametable.h *.rpm *.tar.gz MANIFEST *.1 *.html SHIPPER.* -SPLINTOPTS = +charintliteral -initallelements +posixlib -mustfreefresh \ - -predboolint -splint: nametable.h splashscreen.h - splint -I. -DREVISION=$(VERS) $(SPLINTOPTS) ascii.c +CPPCHECKOPTS = +cppcheck: nametable.h splashscreen.h + cppcheck -DREVISION=$(VERS) $(CPPCHECKOPTS) ascii.c install: ascii ascii.1 cp ascii $(DESTDIR)$(PREFIX)/bin/ascii