From 3088a9ad5ac77ae68afa05b1e30f1e97be02f020 Mon Sep 17 00:00:00 2001 From: tomo Date: Thu, 28 Aug 2003 16:14:20 +0000 Subject: [PATCH] (chise_name_table_put): Use instead of for key. (chise_name_table_get): Likewise. --- chise-name.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/chise-name.h b/chise-name.h index 6c469ed..2ce219c 100644 --- a/chise-name.h +++ b/chise-name.h @@ -10,8 +10,8 @@ typedef CHISE_HASH_TABLE_ENTRY CHISE_NAME_TABLE_ENTRY; CHISE_NAME_TABLE* chise_make_name_table (); void chise_destroy_name_table (CHISE_NAME_TABLE* table); int chise_name_table_put (CHISE_NAME_TABLE* table, - unsigned char *key, void *value); -void* chise_name_table_get (CHISE_NAME_TABLE* table, unsigned char *key); + const unsigned char *key, void *value); +void* chise_name_table_get (CHISE_NAME_TABLE* table, const unsigned char *key); int chise_name_table_grow (CHISE_NAME_TABLE* table); #endif /* !_CHISE_NAME_H */ -- 1.7.10.4