X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=aft.c;h=078876be4d5533e438bf75c08f1c1988eba2b768;hb=dfb5f82f2cf5f9e6b7367196a8a2b76b323ffb36;hp=bcfe7e7d070198784875824c1902520c73028cc5;hpb=e7593d7c153bfca2131b18621fb24ae18c1c0cb3;p=paraslash.git diff --git a/aft.c b/aft.c index bcfe7e7d..078876be 100644 --- a/aft.c +++ b/aft.c @@ -7,7 +7,6 @@ /** \file aft.c Audio file table functions. */ #include -#include /* readdir() */ #include #include #include @@ -724,7 +723,7 @@ static int get_local_time(uint64_t *seconds, char *buf, size_t size, } \ } -static short unsigned get_duration_width(int seconds) +__a_const static short unsigned get_duration_width(int seconds) { short unsigned width; unsigned hours = seconds / 3600, mins = (seconds % 3600) / 60; @@ -2570,10 +2569,6 @@ static void aft_close(void) { osl_close_table(audio_file_table, OSL_MARK_CLEAN); audio_file_table = NULL; - free(status_items); - status_items = NULL; - free(parser_friendly_status_items); - parser_friendly_status_items = NULL; } /**