diff --git a/src/cmph_types.h b/src/cmph_types.h index 8b65795..3fad22d 100644 --- a/src/cmph_types.h +++ b/src/cmph_types.h @@ -5,8 +5,8 @@ typedef unsigned char cmph_uint8; typedef unsigned short cmph_uint16; typedef unsigned int cmph_uint32; -typedef enum { CMPH_HASH_DJB2, CMPH_HASH_FNV, CMPH_HASH_GLIB, CMPH_HASH_JENKINS, - CMPH_HASH_PJW, CMPH_HASH_SDBM, CMPH_HASH_COUNT } CMPH_HASH; +typedef enum { CMPH_HASH_DJB2, CMPH_HASH_FNV, CMPH_HASH_JENKINS, + CMPH_HASH_SDBM, CMPH_HASH_COUNT } CMPH_HASH; extern const char *cmph_hash_names[]; typedef enum { CMPH_BMZ, CMPH_CHM, CMPH_COUNT } CMPH_ALGO; /* included -- Fabiano */ extern const char *cmph_names[]; diff --git a/src/hash.c b/src/hash.c index 369ea3b..868e25c 100644 --- a/src/hash.c +++ b/src/hash.c @@ -7,7 +7,7 @@ //#define DEBUG #include "debug.h" -const char *cmph_hash_names[] = { "djb2", "fnv", "glib", "jenkins", "pjw", "sdbm", NULL }; +const char *cmph_hash_names[] = { "djb2", "fnv", "jenkins", "sdbm", NULL }; hash_state_t *hash_state_new(CMPH_HASH hashfunc, cmph_uint32 hashsize) {