aboutsummaryrefslogtreecommitdiff
path: root/tools/check-compat.sh
diff options
context:
space:
mode:
Diffstat (limited to 'tools/check-compat.sh')
-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..b7603a80
--- /dev/null
+++ b/tools/check-compat.sh
@@ -0,0 +1,5 @@
+# $Id$
+
+grep "#include" compat.h|while read line; do
+ grep "$line" *.[ch] compat/*.[ch]
+done