As of C99, inline functions should be static.

Without `static`, beansdb may fail to compile
under clang, though it works well with gcc.
Merge pull request #10 from lembacon/master

Inline functions without external linkage should be static