From: Eric S. Raymond Date: Tue, 2 Sep 2003 19:28:05 +0000 (+0000) Subject: Rely on global array being present. X-Git-Tag: 1.0~54 X-Git-Url: http://thyrsus.com/gitweb/?a=commitdiff_plain;h=0a1ae80d592eb12c944fd124defb54a5eec668c5;p=comparator.git Rely on global array being present. --- diff --git a/main.c b/main.c index a9ea959..1a40bdf 100644 --- 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, ...)