back to scratko.xyz
aboutsummaryrefslogtreecommitdiff
path: root/stack.h
diff options
context:
space:
mode:
Diffstat (limited to 'stack.h')
-rw-r--r--stack.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/stack.h b/stack.h
index f7d0cfb..eeeb5f4 100644
--- a/stack.h
+++ b/stack.h
@@ -5,13 +5,13 @@ struct item {
long data;
struct item *next;
};
-typedef struct item* stack;
+typedef struct item *stack;
void init_stack(stack *st);
void push_stack(stack *st, long num);
long pop_stack(stack *st);
int is_empty_stack(const stack *st);
long top_stack(const stack *st);
-extern void* heap_base;
+extern void *heap_base;
#endif