Ready for splint annotations.
authorjbj <devnull@localhost>
Thu, 20 Feb 2003 21:06:04 +0000 (21:06 +0000)
committerjbj <devnull@localhost>
Thu, 20 Feb 2003 21:06:04 +0000 (21:06 +0000)
CVS patchset: 6067
CVS date: 2003/02/20 21:06:04

expat/lib/.splintrc [new file with mode: 0644]
expat/lib/Makefile.am

diff --git a/expat/lib/.splintrc b/expat/lib/.splintrc
new file mode 100644 (file)
index 0000000..f6271a5
--- /dev/null
@@ -0,0 +1,102 @@
+-I. -I.. -DHAVE_CONFIG_H
+
++partial
++forcehints
+
+-warnunixlib
+-warnposix
+
++unixlib
+
+-unrecogcomments       # XXX ignore doxygen markings
+
++strict                        # lclint level
+
+# --- in progress
++bounds
+
+-fielduse
+-exportfcn
+-exportheader          # 50
+-exporttype
+
+-aliasunique
+-boolops
+-boundsread
+-boundswrite
+-branchstate
+-casebreak
+-compdef
+-compmempass
+-dependenttrans
++enumindex
++enumint
+-enummemuse
+-exportconst
+-fcnuse
+-forempty
+-fullinitblock
+-globs
+-ifempty
+-immediatetrans
+-infloops
+-infloopsuncon
+-keep
+-kepttrans
+-looploopbreak
+-looploopcontinue
+-loopswitchbreak
+-modnomods
+-modunconnomods
+-noeffectuncon
+-nullassign
+-nullderef
+-nullpass
+-nullret
+-nullstate
+-observertrans
+-paramuse
+-predboolothers
+-predboolptr
+-protoparammatch
++ptrnegate
+-readonlytrans
+-retalias
+-retvalint
+-shadow
+-shiftnegative
+-sizeoftype
+-statictrans
+-strictbranchstate
+-switchloopbreak
+-switchswitchbreak
+-temptrans
+-type
+-unqualifiedtrans
+-usereleased
+-whileempty
+
+# --- not-yet at strict level
+-bitwisesigned         # 86
+-elseifcomplete                # 2
+-forblock              # 6
+-ifblock               # 231
+-incondefs             # 64
+-namechecks            # tedious ANSI compliance checks
+-ptrarith              # tedious
+
+-mustdefine            # 25
+-shiftimplementation   # 148 ctype.h
+
+-strictops             # 37
+-whileblock            # 16
+
+# --- not-yet at checks level
+-mustfree              # 26
+-usedef                        # 31
+
+# --- not-yet at standard level
++boolint               # 38
++charint               # 147
++ignorequals           # 49
++matchanyintegral      # 77
index 463253c..fab4390 100644 (file)
@@ -17,3 +17,8 @@ usrlibdir = $(libdir)@MARK64@
 usrlib_LTLIBRARIES = libexpat.la
 libexpat_la_SOURCES = xmlparse.c xmlrole.c xmltok.c 
 libexpat_la_LDFLAGS = -no-undefined -version-info @LIBCURRENT@:@LIBREVISION@:@LIBAGE@
+
+.PHONY: lint
+lint:
+       $(LINT) $(DEFS) $(INCLUDES) $(libexpat_la_SOURCES)
+