Enable pedantic warnings and removed unnecessarily inlined functions.

Signed-off-by: Kristian Duske <kristian.duske@gmail.com>