clang-compatible

there shouldn't be an inline function pointer
Merge pull request #123 from cxhernandez/clang-compatibility

clang-compatible