From 2355899ee19b49156e8b829b1968551616dc9aae Mon Sep 17 00:00:00 2001 From: "Michael I. Bushnell" Date: Thu, 9 May 1996 15:04:06 +0000 Subject: (argp_args_usage): add_usage_item -> fprintf. (argp_help): Don't shadow arg; change parm STREAM to be STREAMARG and adjust initialization of STREAM variable to use the renamed parm. --- libshouldbeinlibc/argp-help.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) diff --git a/libshouldbeinlibc/argp-help.c b/libshouldbeinlibc/argp-help.c index 900958a5..9f6ea8e5 100644 --- a/libshouldbeinlibc/argp-help.c +++ b/libshouldbeinlibc/argp-help.c @@ -686,7 +686,7 @@ argp_args_usage (const struct argp *argp, FILE *stream) const struct argp **children = argp->children; const char *doc = argp->args_doc; if (doc) - add_usage_item (stream, "%s", doc); + fprintf (stream, "%s", doc); if (children) while (*children) argp_args_usage (*children++, stream); @@ -713,11 +713,11 @@ argp_doc (const struct argp *argp, FILE *stream) /* Output a usage message for ARGP to STREAM. FLAGS are from the set ARGP_HELP_*. */ -void argp_help (const struct argp *argp, FILE *stream, unsigned flags) +void argp_help (const struct argp *argp, FILE *streamarg, unsigned flags) { int first = 1; struct hol *hol = 0; - FILE *stream = line_wrap_stream (stream, 0, RMARGIN, 0); + FILE *stream = line_wrap_stream (streamarg, 0, RMARGIN, 0); assert (stream); -- cgit v1.2.3