summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
-rw-r--r--tools/check-compat.sh5
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