Helper script which greps for compat includes that shouldn't be present in all files but compat.h.

This commit is contained in:
Tiago Cunha 2010-10-24 00:42:04 +00:00
parent 5a0ecc5931
commit 5fb4f8c1fa

5
tools/check-compat.sh Normal file
View File

@ -0,0 +1,5 @@
# $Id: check-compat.sh,v 1.1 2010-10-24 00:42:04 tcunha Exp $
grep "#include" compat.h|while read line; do
grep "$line" *.[ch] compat/*.[ch]
done