From: Gary V. Vaughan Date: Mon, 24 Oct 2011 11:42:53 +0000 (+0700) Subject: syntax-check: fix violations and re-enable sc_prohibit_magic_number_exit. X-Git-Tag: v2.4.2.418~243 X-Git-Url: http://git.ipfire.org/gitweb/gitweb.cgi?a=commitdiff_plain;h=b5c821f6801f76ffcdf84369c69990082a2e097e;p=thirdparty%2Flibtool.git 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 --- diff --git a/cfg.mk b/cfg.mk index 8f9955698..f8525c03d 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_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 2afc88afd..000000000 --- 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 /* printf */ -#include /* exit */ - -int -main (argc, argv) - int argc; - char **argv; -{ - printf ("hello, world!\n"); - exit (0); -}