blob: 198ef874d1d8a857435565c43b83eeebfd2f175e [file] [log] [blame]
int
foo (int (*func) (undef, void *), void *data)
{
int err = 0;
while (cur) {
if ((*func) (cur, data))
break;
}
return err;
}