* HACKING, src/sanity/style.test: NULL is not portable, prohibit it.

* iface/gspn/ssp.cc, src/ltltest/reduc.cc, src/ltltest/syntimpl.cc,
src/ltlvisit/basereduc.cc, src/ltlvisit/reducform.cc,
src/ltlvisit/syntimpl.cc: Use 0 instead of NULL.
This commit is contained in:
Alexandre Duret-Lutz 2004-06-02 15:16:47 +00:00
parent 6e3fd873ba
commit 8e324fa2a2
9 changed files with 87 additions and 79 deletions

View file

@ -113,6 +113,9 @@ for dir in "${INCDIR-..}" "${INCDIR-..}"/../iface; do
grep -e 'return[ ]*[(][^(]*[)];' $tmp &&
diag 'No useless parentheses after delete.'
grep 'NULL' $tmp &&
diag 'Use 0 instead of NULL. NULL is not portable.'
$fail && echo "$file" >>failures
done
done