Make the summary comparators non-static.
authorAndre Noll <maan@systemlinux.org>
Sun, 9 Nov 2008 12:21:04 +0000 (13:21 +0100)
committerAndre Noll <maan@systemlinux.org>
Sun, 9 Nov 2008 12:21:04 +0000 (13:21 +0100)
select.c

index 6318d7c..a3519fe 100644 (file)
--- 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,