use SIMPLEQ_FOREACH.

Suggested by mpi@