* Copyright (c) 1987 by Ed James, UC Berkeley. All rights reserved.
* Copy permission is hereby granted provided that this notice is
* retained on all partial or complete copies.
* For more info on this and all of my stuff, mail edjames@berkeley.edu.
return ((PLANE
*) calloc(1, sizeof (PLANE
)));
PLANE
*q
= NULL
, *r
= NULL
;
p
->next
= p
->prev
= NULL
;
while (q
!= NULL
&& q
->plane_no
< p
->plane_no
) {
loser(p
, "deleted a non-existant plane! Get help!");
if (l
->head
== p
&& l
->tail
== p
)
l
->head
= l
->tail
= NULL
;
} else if (l
->tail
== p
) {