Common datastructure implemented in pedantic C99