Port adt_stack to transitional syntax.