Fixed empty() to use the new initialize_stack(), and pop().
This commit is contained in:
+1
-1
@@ -6,7 +6,7 @@ struct stack {
|
||||
struct stack *next;
|
||||
};
|
||||
|
||||
struct stack *initialize_stack();
|
||||
void initialize_stack(struct stack **);
|
||||
bool empty(struct stack *);
|
||||
int length(struct stack *);
|
||||
void push(struct stack **, struct card *);
|
||||
|
||||
Reference in New Issue
Block a user