From 5fb4f8c1fa3e2a21be846f4fe13c4f6919ff54b2 Mon Sep 17 00:00:00 2001 From: Tiago Cunha Date: Sun, 24 Oct 2010 00:42:04 +0000 Subject: [PATCH] Helper script which greps for compat includes that shouldn't be present in all files but compat.h. --- tools/check-compat.sh | 5 +++++ 1 file changed, 5 insertions(+) create mode 100644 tools/check-compat.sh 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