[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 13/25] syntax-check: fix violations and re-enable sc_prohibit_hav
From: |
Gary V. Vaughan |
Subject: |
[PATCH 13/25] syntax-check: fix violations and re-enable sc_prohibit_have_config_h. |
Date: |
Tue, 15 Nov 2011 19:53:51 +0700 |
* cfg.mk (local-checks-to-fix): Remove sc_prohibit_have_config_h
from list of disabled checks.
* tests/f77demo/foo.h, tests/fcdemo/foo.h: Remove spurious
HAVE_CONFIG_H guards for #include <config.h>.
Signed-off-by: Gary V. Vaughan <address@hidden>
---
cfg.mk | 1 -
tests/f77demo/foo.h | 2 --
tests/fcdemo/foo.h | 2 --
3 files changed, 0 insertions(+), 5 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index baaea4f..09fa25f 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_have_config_h \
sc_prohibit_magic_number_exit \
sc_prohibit_stddef_without_use \
sc_prohibit_strcmp \
diff --git a/tests/f77demo/foo.h b/tests/f77demo/foo.h
index 35d32f9..88934fc 100644
--- a/tests/f77demo/foo.h
+++ b/tests/f77demo/foo.h
@@ -26,9 +26,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
#define _FOO_H_ 1
/* config.h is necessary for the fortran name mangling */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
/* csub is an extremely useful subroutine that
* returns the argument multiplied by two :-)
diff --git a/tests/fcdemo/foo.h b/tests/fcdemo/foo.h
index cf91d5a..09f0dce 100644
--- a/tests/fcdemo/foo.h
+++ b/tests/fcdemo/foo.h
@@ -26,9 +26,7 @@ or obtained by writing to the Free Software Foundation, Inc.,
#define _FOO_H_ 1
/* config.h is necessary for the fortran name mangling */
-#ifdef HAVE_CONFIG_H
#include <config.h>
-#endif
/* csub is an extremely useful subroutine that
* returns the argument multiplied by two :-)
--
1.7.7.3
Cheers,
--
Gary V. Vaughan (gary AT gnu DOT org)
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., (continued)
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., Charles Wilson, 2011/11/15
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., Eric Blake, 2011/11/15
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., Gary V. Vaughan, 2011/11/15
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., Eric Blake, 2011/11/16
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., Stefano Lattarini, 2011/11/16
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., Gary V. Vaughan, 2011/11/16
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., Eric Blake, 2011/11/16
- Re: [PATCH 09/25] syntax-check: fix violations and re-enable sc_makefile_at_at_check., Gary V. Vaughan, 2011/11/16
[PATCH 11/25] syntax-check: fix violations and re-enable sc_prohibit_doubled_word., Gary V. Vaughan, 2011/11/15
[PATCH 12/25] syntax-check: fix violations and re-enable sc_prohibit_empty_lines_at_EOF., Gary V. Vaughan, 2011/11/15
[PATCH 13/25] syntax-check: fix violations and re-enable sc_prohibit_have_config_h.,
Gary V. Vaughan <=
[PATCH 14/25] syntax-check: fix violations and re-enable sc_prohibit_magic_number_exit., Gary V. Vaughan, 2011/11/15
[PATCH 15/25] syntax-check: fix violations and re-enable sc_prohibit_stddef_without_use., Gary V. Vaughan, 2011/11/15
[PATCH 17/25] syntax-check: fix violations and re-enable sc_probibit_test_minus_ao., Gary V. Vaughan, 2011/11/15
[PATCH 16/25] syntax-check: fix violations and re-enable sc_prohibit_strcmp., Gary V. Vaughan, 2011/11/15
[PATCH 18/25] syntax-check: fix violations and re-enable sc_prohibit_undesirable_word_seq., Gary V. Vaughan, 2011/11/15
[PATCH 20/25] syntax-check: fix violations and re-enable sc_useless_cpp_parens., Gary V. Vaughan, 2011/11/15
[PATCH 19/25] syntax-check: fix violations and re-enable sc_space_tab., Gary V. Vaughan, 2011/11/15
[PATCH 22/25] syntax-check: enable sc_bindtextdomain., Gary V. Vaughan, 2011/11/15