Jo Shields a575963da9 Imported Upstream version 3.6.0
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
2014-08-13 10:39:27 +01:00

16 lines
399 B
Bash

#!/bin/sh
dir=`dirname $0`
for file in $*;
do
perl $dir/exdoc $file | grep ^Function: | sed -e 's/Function: //' -e 's/://' > documented
nm `dirname $file`/.libs/`basename $file .c`.o | grep ' T ' | sed 's/.* T //' > public
for i in `cat public | grep -v $dir/ignore`; do
if grep $i documented > /dev/null; then
true
else
echo $i is not documented | grep -v ves_icall
fi
done
done