Move the ptrlist macros out of the sparse "lib.[ch]" files.
[smatch.git] / validation / badtype3.c
blob0aefe6a0565ae16a762621582778beb2c21305ba
1 int
2 foo (int (*func) (undef, void*), void* data)
4 int err = 0;
5 while (cur) {
6 if ((*func) (cur, data))
7 break;
9 return err;