diff --git a/tools/check-compat.sh b/tools/check-compat.sh new file mode 100644 index 00000000..12dc3193 --- /dev/null +++ b/tools/check-compat.sh @@ -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