aboutsummaryrefslogtreecommitdiff
path: root/stack.h
diff options
context:
space:
mode:
authorHampusM <hampus@hampusmat.com>2021-12-13 16:27:01 +0100
committerHampusM <hampus@hampusmat.com>2021-12-13 16:27:01 +0100
commit3ae2b3928739d947ef6ad792403ea1b00bf8bd4b (patch)
tree33af6a00ae4120cb78878ffac4daa2fbd5afc01e /stack.h
parentaf4671acbc48446b0e0b3589b648854488f78e58 (diff)
refactor: clean up
Diffstat (limited to 'stack.h')
-rw-r--r--stack.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/stack.h b/stack.h
index e6c6415..7f259fe 100644
--- a/stack.h
+++ b/stack.h
@@ -8,7 +8,7 @@ struct stack
int *items;
};
-struct stack *new_stack(int capacity);
+struct stack *create_stack(int capacity);
void stack_push(struct stack *pt, int x);