]> git.tue.mpg.de Git - adu.git/commitdiff
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 6318d7c47b67857302f8757ba7ed5ca31a175b33..a3519fe40e586c6ad17e6e252a5a37f50726ba81 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,