]> git.ipfire.org Git - thirdparty/libtool.git/commitdiff
syntax-check: fix violations and re-enable sc_prohibit_magic_number_exit.
authorGary V. Vaughan <gary@gnu.org>
Mon, 24 Oct 2011 11:42:53 +0000 (18:42 +0700)
committerGary V. Vaughan <gary@gnu.org>
Thu, 17 Nov 2011 12:21:07 +0000 (19:21 +0700)
* cfg.mk (local-checks-to-fix): Remove sc_prohibit_magic_number_exit
from list of disabled checks.
* ltmain.c: Removed unused file.

Signed-off-by: Gary V. Vaughan <gary@gnu.org>
cfg.mk
ltmain.c [deleted file]

diff --git a/cfg.mk b/cfg.mk
index 8f99556983145595ef6a2ae7a42381284f88fe8b..f8525c03d3db1ddba751d32abd77fe643e59df8e 100644 (file)
--- 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_magic_number_exit           \
        sc_prohibit_stddef_without_use          \
        sc_prohibit_strcmp                      \
        sc_prohibit_test_minus_ao               \
diff --git a/ltmain.c b/ltmain.c
deleted file mode 100644 (file)
index 2afc88a..0000000
--- a/ltmain.c
+++ /dev/null
@@ -1,36 +0,0 @@
-/* ltmain.c - C implementation of GNU Libtool
- * Copyright (C) 1998-1999 Free Software Foundation, Inc.
- *
- * This program is free software; you can redistribute it and/or modify
- * it under the terms of the GNU General Public License as published by
- * the Free Software Foundation; either version 2, or (at your option)
- * any later version.
- *
- * This program is distributed in the hope that it will be useful,
- * but WITHOUT ANY WARRANTY; without even the implied warranty of
- * MERCHANTABILITY or FITNESS FOR A PARTICULAR PURPOSE.  See the
- * GNU General Public License for more details.
- *
- * You should have received a copy of the GNU General Public License
- * along with this program; if not, a copy can be downloaded from
- * http://www.gnu.org/copyleft/gpl.html, or by writing to the Free
- * Software Foundation, Inc., 51 Franklin Street, Fifth Floor, Boston,
- * MA 02110-1301, USA.
- *
- * As a special exception to the GNU General Public License, if you
- * distribute this file as part of a program that contains a
- * configuration script generated by Autoconf, you may include it under
- * the same distribution terms that you use for the rest of that program.
- */
-
-#include <stdio.h>             /* printf */
-#include <stdlib.h>            /* exit */
-
-int
-main (argc, argv)
-     int argc;
-     char **argv;
-{
-  printf ("hello, world!\n");
-  exit (0);
-}