Do not build gtk3.22-client by default
[freeciv.git] / tests / va_list.sh
blob8c10cfce6eb8b7bd1f6fdd54b0eb5769604577d3
1 #!/bin/sh
3 echo "# C or C++ files which use va_list but don't include stdarg.h:"
4 find $1 -name "*.c" -o -name "*.cpp" \
5 | sort \
6 | while read line; do
7 (grep "va_list" $line >/dev/null \
8 && ! grep "^#include.*<stdarg.h>" $line >/dev/null \
9 && echo "$line")
10 done
11 echo