From 7d3d1248d33cbc364caeaaeab7b0650645b4d7e2 Mon Sep 17 00:00:00 2001 From: fc_botelho Date: Thu, 27 Jan 2005 14:12:28 +0000 Subject: [PATCH] It was removed pjw and glib functions from cmph_hash_names vector --- src/cmph_types.h | 4 ++-- src/hash.c | 2 +- 2 files changed, 3 insertions(+), 3 deletions(-) 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) {