From: Andre Noll Date: Sun, 9 Nov 2008 12:21:04 +0000 (+0100) Subject: Make the summary comparators non-static. X-Git-Tag: v0.0.5~1^2~14 X-Git-Url: http://git.tue.mpg.de/?a=commitdiff_plain;h=d5d8bd8399bd7f3b90a39faa43412db2b54b7616;p=adu.git Make the summary comparators non-static. --- diff --git a/select.c b/select.c index 6318d7c..a3519fe 100644 --- a/select.c +++ b/select.c @@ -410,7 +410,7 @@ static int print_user_summary(struct format_info *fi) * This is an array of pointers to functions taking two constant void * * pointers and returning an int. */ - static int (*summary_comparators[])(const void *, const void *) = { + int (*summary_comparators[])(const void *, const void *) = { [user_summary_sort_arg_name] = name_comp, [user_summary_sort_arg_uid] = uid_comp, [user_summary_sort_arg_dir_count] = dir_count_comp,