diff options
author | Gary V. Vaughan <gary@gnu.org> | 2011-10-24 18:42:53 +0700 |
---|---|---|
committer | Gary V. Vaughan <gary@gnu.org> | 2011-11-17 19:21:07 +0700 |
commit | b5c821f6801f76ffcdf84369c69990082a2e097e (patch) | |
tree | 21db677b1085766906800f00b3d906562704cf0e | |
parent | d48e2355a38d9ea744f22f9c67c2002216d96f44 (diff) | |
download | libtool-b5c821f6801f76ffcdf84369c69990082a2e097e.tar.gz |
syntax-check: fix violations and re-enable sc_prohibit_magic_number_exit.
* 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>
-rw-r--r-- | cfg.mk | 1 | ||||
-rw-r--r-- | ltmain.c | 36 |
2 files changed, 0 insertions, 37 deletions
@@ -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 index 2afc88af..00000000 --- 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); -} |