X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=score.c;h=ad147bba1ef7dc9ac90fbcb30e20a267e0376160;hp=515a9c9464a143756e0759835aefe36dcadbcab7;hb=7e58bd75a29d2d4e1d184191c2500b6aa7a7ad8a;hpb=0496a19e8ac1afecde726c2292720d415bdb7500 diff --git a/score.c b/score.c index 515a9c94..ad147bba 100644 --- a/score.c +++ b/score.c @@ -12,7 +12,7 @@ #include "list.h" #include "string.h" -static void *score_table; +static struct osl_table *score_table; static int ptr_compare(const struct osl_object *obj1, const struct osl_object *obj2) { @@ -358,5 +358,5 @@ int score_init(struct table_info *ti, const char *db) score_table_desc.dir = db; ti->desc = &score_table_desc; ti->flags = TBLFLAG_SKIP_CREATE; - return osl_open_table(ti->desc, score_table); + return osl_open_table(ti->desc, &score_table); }