11 static struct q *new(int i)
13 struct q *q = malloc(sizeof *q);
25 for (i = 1; i < 10; i++) {
32 t_error("walking queue: got %d, wanted %d\n", q->i, i);
36 if (p->p->i != p->i-2)
37 t_error("remque: got %d, wanted %d\n", p->p->i, p->i-2);
38 if (p->p->n->i != p->i)
39 t_error("remque: got %d, wanted %d\n", p->p->n->i, p->i);