]> thyrsus.com Git - comparator.git/commitdiff
Rely on global array being present.
authorEric S. Raymond <esr@thyrsus.com>
Tue, 2 Sep 2003 19:28:05 +0000 (19:28 +0000)
committerEric S. Raymond <esr@thyrsus.com>
Tue, 2 Sep 2003 19:28:05 +0000 (19:28 +0000)
main.c

diff --git a/main.c b/main.c
index a9ea9599a0fa4fece88e270c81f944d9dfe676ca..1a40bdff476c08f62dd45709bf9beddf0a000017 100644 (file)
--- a/main.c
+++ b/main.c
@@ -74,8 +74,7 @@ static void generate_shredfile(const char *tree, FILE *ofp)
     }
 }
 
-static struct sorthash_t *generate_shredlist(const int argc, 
-                                            const char *argv[])
+static void generate_shredlist(const int argc, const char *argv[])
 /* generate an in-core list of sorthash structures */
 {
     int        i, file_count;
@@ -92,9 +91,6 @@ static struct sorthash_t *generate_shredlist(const int argc,
            shredfile(*place, corehook);
        free(list);
     }
-
-    /* caller is responsible for freeing this */
-    return(sort_buffer);
 }
 
 void report_time(char *legend, ...)