Make code warnings-free with -pedantic

This removes a function that's no longer used, and inline specifiers
from include file (where they're useless anyway). This makes the whole
default project warnings-free with -Wall -pedantic.

Signed-off-by: Paul Fertser <fercerpav@gmail.com>
Merge pull request #141 from paulfertser/master

Make code warnings-free with -pedantic, this should guard against more programming errors in the future