diff options
author | Tiago Cunha <tcunha@gmx.com> | 2010-10-24 00:42:04 +0000 |
---|---|---|
committer | Tiago Cunha <tcunha@gmx.com> | 2010-10-24 00:42:04 +0000 |
commit | 5fb4f8c1fa3e2a21be846f4fe13c4f6919ff54b2 (patch) | |
tree | 1a8f4357656efc0db62f0aba1d69b0f983ebf9e0 /tools | |
parent | 5a0ecc5931f35cad253e534d0c662fa853fdca39 (diff) |
Helper script which greps for compat includes that shouldn't be present in all files but compat.h.
Diffstat (limited to 'tools')
-rw-r--r-- | tools/check-compat.sh | 5 |
1 files changed, 5 insertions, 0 deletions
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 |