From 58a34b4787ba6252d732e981ecb407c85ccb0d18 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Tue, 23 Apr 2013 23:23:54 +0900 Subject: [PATCH] Include "hash-i.h". (struct CONCORD_HASH_TABLE_ENTRY): Moved to hash-i.h. (struct CONCORD_HASH_TABLE): Ditto. (concord_make_hash_table): Move prototype to hash-i.h. (concord_destroy_hash_table): Ditto. (concord_hash_c_string): Ditto. --- name.c | 17 +---------------- 1 file changed, 1 insertion(+), 16 deletions(-) diff --git a/name.c b/name.c index da8b7d5..3f44b12 100644 --- a/name.c +++ b/name.c @@ -19,22 +19,7 @@ #include #include #include "concord-name.h" - -struct CONCORD_HASH_TABLE_ENTRY -{ - void *key; - void *value; -}; - -struct CONCORD_HASH_TABLE -{ - size_t size; - CONCORD_HASH_TABLE_ENTRY *data; -}; - -CONCORD_HASH_TABLE* concord_make_hash_table (size_t size); -void concord_destroy_hash_table (CONCORD_HASH_TABLE* hash); -unsigned long concord_hash_c_string (const unsigned char *ptr); +#include "hash-i.h" CONCORD_HASH_TABLE* concord_make_hash_table (size_t size) -- 1.7.10.4