aboutsummaryrefslogtreecommitdiff
path: root/stack.h
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-12-13 21:16:54 +0100
committerHampusM <hampus@hampusmat.com>2021-12-13 21:16:54 +0100
commitaf93edd8433634d82e855e9c9bcbca249a476977 (patch)
tree14577381b1bc101eb14080c13e624743c120a86e /stack.h
parent5afa8ec91fbbb8c20e2425d56d11cac8bd08c8a4 (diff)
refactor: clean code
Diffstat (limited to 'stack.h')
-rw-r--r--stack.h19
1 files changed, 0 insertions, 19 deletions
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