From 893a0c303afb9f897b9b0fa24b6f697af8ad72c0 Mon Sep 17 00:00:00 2001 From: Miles Bader Date: Tue, 2 Apr 1996 23:40:16 +0000 Subject: entered into RCS --- libstore/storecat.c | 10 ++++++---- libstore/storeread.c | 4 +++- 2 files changed, 9 insertions(+), 5 deletions(-) (limited to 'libstore') diff --git a/libstore/storecat.c b/libstore/storecat.c index a9f49f10..f813847d 100644 --- a/libstore/storecat.c +++ b/libstore/storecat.c @@ -1,3 +1,5 @@ +/* Test program for libstore -- outputs the concatenation of stores */ + #include #include #include @@ -90,10 +92,10 @@ main (int argc, char **argv) error_t err; struct store *cat; if (interleave) - err = store_ileave_create (interleave, stores, num_stores, 1, - &cat); + err = + store_ileave_create (stores, num_stores, interleave, &cat); else - err = store_concat_create (stores, num_stores, 1, &cat); + err = store_concat_create (stores, num_stores, &cat); if (err) error (99, err, "Can't concatenate"); dump (cat, 0, -1); @@ -106,6 +108,6 @@ main (int argc, char **argv) return 0; } struct argp argp = {options, parse_opt, arg_doc, doc}; - argp_parse (&argp, argc, argv, 0, 0); + argp_parse (&argp, argc, argv, 0, 0, 0); exit (0); } diff --git a/libstore/storeread.c b/libstore/storeread.c index 2558a86b..6b38676a 100644 --- a/libstore/storeread.c +++ b/libstore/storeread.c @@ -1,3 +1,5 @@ +/* Test program for libstore -- outputs a portion of a store */ + #include #include #include @@ -96,6 +98,6 @@ main (int argc, char **argv) return 0; } struct argp argp = {options, parse_opt, arg_doc, doc}; - argp_parse (&argp, argc, argv, 0, 0); + argp_parse (&argp, argc, argv, 0, 0, 0); exit (0); } -- cgit v1.2.3