libtool-patches
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[PATCH 14/25] syntax-check: fix violations and re-enable sc_prohibit_mag


From: Gary V. Vaughan
Subject: [PATCH 14/25] syntax-check: fix violations and re-enable sc_prohibit_magic_number_exit.
Date: Tue, 15 Nov 2011 19:53:52 +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 <address@hidden>
---
 cfg.mk   |    1 -
 ltmain.c |   36 ------------------------------------
 2 files changed, 0 insertions(+), 37 deletions(-)
 delete mode 100644 ltmain.c

diff --git a/cfg.mk b/cfg.mk
index 09fa25f..43f7c19 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 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);
-}
-- 
1.7.7.3

Cheers,
-- 
Gary V. Vaughan (gary AT gnu DOT org)



reply via email to

[Prev in Thread] Current Thread [Next in Thread]