#include "stack2.h" #include struct stack { void *element; stack next; }; void stack_push(stack *s, void *element) { stack temp = malloc(sizeof(struct stack)); temp -> next = *s; temp -> element = element; *s = temp; }