Inline functions without external linkage should be static

Without `static`, beansdb may fail to compile under clang, though it works well with gcc.