Added function body to getHeader

getHeader was missing a function body
I don't program in C too often, but I remember always getting warnings for that... Which standard allowed this? C99?