a575963da9
Former-commit-id: da6be194a6b1221998fc28233f2503bd61dd9d14
16 lines
399 B
Bash
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
|