* the COPYING file in the parent directory for full text.
*/
-#include "common.h"
+#include <libhashkit/common.h>
uint32_t hashkit_digest(const hashkit_st *self, const char *key, size_t key_length)
{
#ifdef HAVE_HSIEH_HASH
return libhashkit_hsieh(key, key_length);
#else
- return EXIT_FAILURE;
+ return 1;
#endif
case HASHKIT_HASH_MURMUR:
#ifdef HAVE_MURMUR_HASH
return libhashkit_murmur(key, key_length);
#else
- return EXIT_FAILURE;
+ return 1;
#endif
case HASHKIT_HASH_JENKINS:
return libhashkit_jenkins(key, key_length);
break;
}
- return EXIT_FAILURE;
+ return 1;
}