diff options
author | Miles Bader <miles@gnu.org> | 1996-04-02 23:40:16 +0000 |
---|---|---|
committer | Miles Bader <miles@gnu.org> | 1996-04-02 23:40:16 +0000 |
commit | 893a0c303afb9f897b9b0fa24b6f697af8ad72c0 (patch) | |
tree | 625c9d495b1c38947068c10e85c5f39e39510403 | |
parent | e1cfadf616d493191fc0a22cf56ec2cc472eefbf (diff) |
entered into RCS
-rw-r--r-- | libstore/storecat.c | 10 | ||||
-rw-r--r-- | libstore/storeread.c | 4 |
2 files changed, 9 insertions, 5 deletions
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 <argp.h> #include <error.h> #include <unistd.h> @@ -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 <argp.h> #include <error.h> #include <unistd.h> @@ -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); } |