From af93edd8433634d82e855e9c9bcbca249a476977 Mon Sep 17 00:00:00 2001 From: HampusM Date: Mon, 13 Dec 2021 21:16:54 +0100 Subject: refactor: clean code --- stack.h | 19 ------------------- 1 file changed, 19 deletions(-) delete mode 100644 stack.h (limited to 'stack.h') diff --git a/stack.h b/stack.h deleted file mode 100644 index 7f259fe..0000000 --- a/stack.h +++ /dev/null @@ -1,19 +0,0 @@ -#ifndef STACK_H -#define STACK_H - -struct stack -{ - int max_size; - int top; - int *items; -}; - -struct stack *create_stack(int capacity); - -void stack_push(struct stack *pt, int x); - -int stack_peek(struct stack *pt); - -int stack_pop(struct stack *pt); - -#endif \ No newline at end of file -- cgit v1.2.3-18-g5258