(version_etc): Rename parameter, authors, to written_by.

Combine fprintf and following putc('\n'.
This commit is contained in:
Jim Meyering committed 2003-09-18 22:20:44 +00:00
1 parent bafd927f03
commit b14965fae9
1 file changed
+2 -3
+2 -3
View File
@@ -48,14 +48,13 @@ char* version_etc_copyright =
void
version_etc (FILE *stream,
const char *command_name, const char *package,
const char *version, const char *authors)
const char *version, const char *written_by)
{
if (command_name)
fprintf (stream, "%s (%s) %s\n", command_name, package, version);
else
fprintf (stream, "%s %s\n", package, version);
fprintf (stream, _("Written by %s.\n"), authors);
putc ('\n', stream);
fprintf (stream, "%s\n\n", written_by);
fputs (version_etc_copyright, stream);
putc ('\n', stream);