die, dynamic, linked stack

c does not allow function overloading, thus many files created, how to
solve this in c?