From b2023e595484ecab3f6d89c8ff883835cf0837e9 Mon Sep 17 00:00:00 2001 From: MORIOKA Tomohiko Date: Tue, 23 Apr 2013 23:16:26 +0900 Subject: [PATCH] Include "cos-hash.h". (struct COS_Feature_ent): Moved to cos-i.h. (concord_genre_open_feature): Setup `table->value_table'. --- concord.c | 11 ++--------- 1 file changed, 2 insertions(+), 9 deletions(-) diff --git a/concord.c b/concord.c index 71d5d4d..617f6c5 100644 --- a/concord.c +++ b/concord.c @@ -25,6 +25,7 @@ #include "concord.h" #include "cos-i.h" #include "concord-name.h" +#include "cos-hash.h" #include "concord-bdb.h" @@ -521,15 +522,6 @@ concord_genre_get_index (CONCORD_Genre genre, const char* name) } -struct COS_Feature_ent -{ - COS_Object_Header header; - CONCORD_Genre genre; - char* name; - DB* db; - u_int32_t access; -}; - CONCORD_Feature concord_genre_open_feature (CONCORD_Genre genre, const char* feature) { @@ -553,6 +545,7 @@ concord_genre_open_feature (CONCORD_Genre genre, const char* feature) return NULL; } strcpy (table->name, feature); + table->value_table = NULL; return table; } -- 1.7.10.4