Added function body to getHeader

getHeader was missing a function body
`sizeof(char)` is guaranteed to be 1 by the standards (C99 & C11 §6.4.4.4).