1 /* $Id: queue.c,v 1.5 1994/06/24 13:28:57 ceriel Exp $ */
3 * (c) copyright 1987 by the Vrije Universiteit, Amsterdam, The Netherlands.
4 * See the copyright notice in the ACK home directory, in the file "Copyright".
12 q->head = q->tail = (instr_p) 0;
25 if ( (q->head = q->head->fw) == (instr_p) 0) {
26 q->tail = (instr_p) 0;
28 q->head->bw = (instr_p) 0;
35 register instr_p instr;
38 q->head = q->tail = instr;
39 instr->bw = (instr_p) 0;
45 instr->fw = (instr_p) 0;
50 register instr_p instr;
53 q->head = q->tail = instr;
54 instr->fw = (instr_p) 0;
60 instr->bw = (instr_p) 0;
68 q1->tail->fw = q2->head;
70 q2->head->bw = q1->tail;