repo.or.cz
/
freeciv.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Add scripting API control over unit 'stay'
[freeciv.git]
/
tests
/
va_list.sh
blob
8c10cfce6eb8b7bd1f6fdd54b0eb5769604577d3
1
#!/bin/sh
2
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