fixed several compiler warnings
removed typedefs
fixed unused version without adding inline
deleted volatile as it has no effect outside of a function
silenced clang warning '-rdynamic'
Merge pull request #1166 from Finomnis/master

Fixed several compiler warnings