From 8ad4fc26dcb04d57754480e491334a8af0c79897 Mon Sep 17 00:00:00 2001 From: Martin Liska Date: Wed, 17 Jun 2020 10:53:44 +0200 Subject: [PATCH] gcov*: collapse lisence header to 2 lines in --version. gcc/ChangeLog: * gcov-dump.c (print_version): Collapse lisence header to 2 lines in --version. * gcov-tool.c (print_version): Likewise. * gcov.c (print_version): Likewise. --- gcc/gcov-dump.c | 5 ++--- gcc/gcov-tool.c | 5 ++--- gcc/gcov.c | 5 ++--- 3 files changed, 6 insertions(+), 9 deletions(-) diff --git a/gcc/gcov-dump.c b/gcc/gcov-dump.c index ffb71ca4b68..cfa771e4a25 100644 --- a/gcc/gcov-dump.c +++ b/gcc/gcov-dump.c @@ -144,9 +144,8 @@ print_version (void) { printf ("gcov-dump %s%s\n", pkgversion_string, version_string); printf ("Copyright (C) 2020 Free Software Foundation, Inc.\n"); - printf ("This is free software; see the source for copying conditions.\n" - "There is NO warranty; not even for MERCHANTABILITY or \n" - "FITNESS FOR A PARTICULAR PURPOSE.\n\n"); + printf ("This is free software; see the source for copying conditions. There is NO\n\ +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n"); } static void diff --git a/gcc/gcov-tool.c b/gcc/gcov-tool.c index f8f1cb5d29b..fca0178b4d5 100644 --- a/gcc/gcov-tool.c +++ b/gcc/gcov-tool.c @@ -528,9 +528,8 @@ print_version (void) fnotice (stdout, "Copyright %s 2020 Free Software Foundation, Inc.\n", _("(C)")); fnotice (stdout, - _("This is free software; see the source for copying conditions.\n" - "There is NO warranty; not even for MERCHANTABILITY or \n" - "FITNESS FOR A PARTICULAR PURPOSE.\n\n")); + _("This is free software; see the source for copying conditions. There is NO\n\ +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n")); exit (SUCCESS_EXIT_CODE); } diff --git a/gcc/gcov.c b/gcc/gcov.c index 488847231c2..ef93758b26f 100644 --- a/gcc/gcov.c +++ b/gcc/gcov.c @@ -929,9 +929,8 @@ print_version (void) fprintf (stdout, "Copyright %s 2020 Free Software Foundation, Inc.\n", _("(C)")); fnotice (stdout, - _("This is free software; see the source for copying conditions.\n" - "There is NO warranty; not even for MERCHANTABILITY or \n" - "FITNESS FOR A PARTICULAR PURPOSE.\n\n")); + _("This is free software; see the source for copying conditions. There is NO\n\ +warranty; not even for MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.\n\n")); exit (SUCCESS_EXIT_CODE); } -- 2.30.2