codenav: Use proper C prototypes for functions without arguments
codenav: Fix signed vs. unsigned comparisons
Merge pull request #168 from b4n/codenav/fixes

A few Codenav fixes