X-Git-Url: http://git.tuebingen.mpg.de/?a=blobdiff_plain;f=aft.c;h=0edc701338582f811d587229bf89195e621ff1a6;hb=0440ca41086eafb233b5cb516419de830a0bec13;hp=bcfe7e7d070198784875824c1902520c73028cc5;hpb=e7593d7c153bfca2131b18621fb24ae18c1c0cb3;p=paraslash.git diff --git a/aft.c b/aft.c index bcfe7e7d..0edc7013 100644 --- a/aft.c +++ b/aft.c @@ -7,7 +7,6 @@ /** \file aft.c Audio file table functions. */ #include -#include /* readdir() */ #include #include #include @@ -19,7 +18,6 @@ #include "string.h" #include "afh.h" #include "afs.h" -#include "net.h" #include "fd.h" #include "ipc.h" #include "portable_io.h" @@ -724,7 +722,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;