repo.or.cz
/
smatch.git
/
blob
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
log
|
graphiclog1
|
graphiclog2
|
commit
|
commitdiff
|
tree
|
refs
|
edit
|
fork
blame
|
history
|
raw
|
HEAD
Move the ptrlist macros out of the sparse "lib.[ch]" files.
[smatch.git]
/
validation
/
badtype3.c
blob
0aefe6a0565ae16a762621582778beb2c21305ba
1
int
2
foo
(
int
(*
func
) (
undef
,
void
*),
void
*
data
)
3
{
4
int
err
=
0
;
5
while
(
cur
) {
6
if
((*
func
) (
cur
,
data
))
7
break
;
8
}
9
return
err
;
10
}