X-Git-Url: http://git.tuebingen.mpg.de/?p=paraslash.git;a=blobdiff_plain;f=score.c;h=d0799b55650117e00c36401bfd2fb789a3261f85;hp=b53d60b38b582b6989f65fc290e894647e53f1f7;hb=4a14f0f3692f766bf3c6a2df01a6f1e225202ac7;hpb=7fc9a44cb0205121b7ece3a3cecd66e712a31981 diff --git a/score.c b/score.c index b53d60b3..d0799b55 100644 --- a/score.c +++ b/score.c @@ -12,8 +12,6 @@ #include "list.h" #include "string.h" -int mood_compute_score(const void *row, long *score); - static void *score_table; static int ptr_compare(const struct osl_object *obj1, const struct osl_object *obj2) @@ -342,6 +340,7 @@ int row_belongs_to_score_table(const struct osl_row *aft_row) void score_shutdown(enum osl_close_flags flags) { osl_close_table(score_table, flags | OSL_FREE_VOLATILE); + score_table = NULL; } /**