Merge pull request #145 from cbreak-black/tautological

Tautological Compare warning fixes
Implicit function declaration fixes

In C99, functions have to be declared before being used. These implicit
function declaration warnings were fixed by including a header that
contains a declaration or fixing inline declaration.
WIP: Implicit function declaration fixes

More C99 fixes. These functions were not declared anywhere, so an
accessible declaration was created.