From baf75223ff46efda8c86ae7fce05d3e77481c498 Mon Sep 17 00:00:00 2001 From: "Gary V. Vaughan" Date: Mon, 24 Oct 2011 18:29:45 +0700 Subject: [PATCH] syntax-check: fix violations and re-enable sc_prohibit_empty_lines_at_EOF. * cfg.mk (local-checks-to-fix): Remove sc_prohibit_empty_lines_at_EOF from list of disabled checks. * THANKS, libltdl/argz.c, libltdl/config/getopt.m4sh, tests/f77demo/README, tests/f77demo/cprogram.c, tests/f77demo/fprogram.f, tests/fcdemo/README, tests/fcdemo/cprogram.c, tests/libtoolize.at, tests/mdemo/README, tests/mdemo2/README, tests/pdemo-inst.test: Remove spurious empty lines from the end of these files. Signed-off-by: Gary V. Vaughan --- THANKS | 1 - cfg.mk | 1 - libltdl/argz.c | 1 - tests/f77demo/README | 4 ---- tests/f77demo/cprogram.c | 1 - tests/f77demo/fprogram.f | 1 - tests/fcdemo/README | 4 ---- tests/fcdemo/cprogram.c | 1 - tests/libtoolize.at | 1 - tests/mdemo/README | 1 - tests/mdemo2/README | 1 - tests/pdemo-inst.test | 1 - 12 files changed, 18 deletions(-) diff --git a/THANKS b/THANKS index da43e65f4..84cb6c9d5 100644 --- a/THANKS +++ b/THANKS @@ -224,4 +224,3 @@ along with GNU Libtool; see the file COPYING. If not, a copy can be downloaded from http://www.gnu.org/licenses/gpl.html, or obtained by writing to the Free Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston, MA 02110-1301, USA. - diff --git a/cfg.mk b/cfg.mk index e2568ee1f..bd0b4ad82 100644 --- a/cfg.mk +++ b/cfg.mk @@ -40,7 +40,6 @@ VC_LIST_ALWAYS_EXCLUDE_REGEX = ^mail/ local-checks-to-fix = \ sc_prohibit_always-defined_macros \ sc_prohibit_always_true_header_tests \ - sc_prohibit_empty_lines_at_EOF \ sc_prohibit_have_config_h \ sc_prohibit_magic_number_exit \ sc_prohibit_stddef_without_use \ diff --git a/libltdl/argz.c b/libltdl/argz.c index 8567723bf..b2e7769da 100644 --- a/libltdl/argz.c +++ b/libltdl/argz.c @@ -223,4 +223,3 @@ argz_stringify (char *argz, size_t argz_len, int sep) } } } - diff --git a/tests/f77demo/README b/tests/f77demo/README index 11df06c77..1417e729d 100644 --- a/tests/f77demo/README +++ b/tests/f77demo/README @@ -10,7 +10,3 @@ function. This demo requires GNU autoconf, automake, libtool with the F77 tag and quite obvious Fortran 77. - - - - diff --git a/tests/f77demo/cprogram.c b/tests/f77demo/cprogram.c index 849552473..3275fd583 100644 --- a/tests/f77demo/cprogram.c +++ b/tests/f77demo/cprogram.c @@ -51,4 +51,3 @@ main () return 0; } - diff --git a/tests/f77demo/fprogram.f b/tests/f77demo/fprogram.f index f4b4ccddd..faf56a63b 100644 --- a/tests/f77demo/fprogram.f +++ b/tests/f77demo/fprogram.f @@ -31,4 +31,3 @@ C stop end - diff --git a/tests/fcdemo/README b/tests/fcdemo/README index 50cee2b25..44214a082 100644 --- a/tests/fcdemo/README +++ b/tests/fcdemo/README @@ -10,7 +10,3 @@ function. This demo requires GNU autoconf, automake, libtool with the FC tag and quite obvious Fortran. - - - - diff --git a/tests/fcdemo/cprogram.c b/tests/fcdemo/cprogram.c index 39fa395d8..b0bdf123b 100644 --- a/tests/fcdemo/cprogram.c +++ b/tests/fcdemo/cprogram.c @@ -52,4 +52,3 @@ main () return 0; } - diff --git a/tests/libtoolize.at b/tests/libtoolize.at index 674826f87..030ece79a 100644 --- a/tests/libtoolize.at +++ b/tests/libtoolize.at @@ -1071,4 +1071,3 @@ AT_CHECK([grep 'keep me' acinclude.m4], 0, [ignore]) AT_CHECK([test -f libltdl/acinclude.m4], 1, [ignore], [ignore]) AT_CLEANUP - diff --git a/tests/mdemo/README b/tests/mdemo/README index 936396a9b..a599ff21b 100644 --- a/tests/mdemo/README +++ b/tests/mdemo/README @@ -14,4 +14,3 @@ libraries *are* built as dll's, but do not have the __declspec machinery to make them suitable for loading at link time. This is only for clarity inside this example, look at the example in ../demo to see how the __declspec macros should be set up. - diff --git a/tests/mdemo2/README b/tests/mdemo2/README index 8a1e18ba8..a80887633 100644 --- a/tests/mdemo2/README +++ b/tests/mdemo2/README @@ -2,4 +2,3 @@ This is mdemo2, an example package that attempts to use GNU libtool to link with a library that itself does dlopening of libtool modules. This demo depends upon the libraries generated in ../mdemo. - diff --git a/tests/pdemo-inst.test b/tests/pdemo-inst.test index 8188b0052..67753b1ed 100755 --- a/tests/pdemo-inst.test +++ b/tests/pdemo-inst.test @@ -36,4 +36,3 @@ func_exec "$prefix/bin/hell$EXEEXT" 'Welcome to GNU Hell' func_exec "$prefix/bin/helldl$EXEEXT" '(Welcome to .*GNU Hell|unsupported)' exit $status - -- 2.47.2