fix some fd leaks in error paths and avoid some double close
[got-portable.git] / lib / murmurhash2.h
blob8fa42cdb7d310218bbaff43e40157c42561bdebd
1 //-----------------------------------------------------------------------------
2 // MurmurHash2 was written by Austin Appleby, and is placed in the public
3 // domain. The author hereby disclaims copyright to this source code.
5 /* Obtained from https://github.com/aappleby/smhasher */
7 uint32_t murmurhash2(const unsigned char *key, int len, uint32_t seed);