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

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>
will have to ask lux when he shows up then