1 2 3 4 5 6 7 8 9 10 11 12 13 14
#ifndef STACK_H #define STACK_H struct stack { int data; struct stack *next; }; struct stack *stack_push(struct stack *s, int e); struct stack *stack_pop(struct stack *s); int stack_peek(struct stack *s); #endif /* !STACK_H */