summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2012-01-21 16:12:45 +0100
committerJim Meyering <meyering@redhat.com>2012-01-23 09:12:23 +0100
commitae930c76c77f1ff923ca2c511b101735322bc211 (patch)
tree2c7c16fbc2d0e765b10c2561b6f3efa864fe541a
parent015ecc5018782c18fb20d0259c8a56cc258b9ab4 (diff)
downloadautoconf-ae930c76c77f1ff923ca2c511b101735322bc211.tar.gz
maint: convert .x-sc_* into exclude_file_name_regexp--sc_* exemptions
Many of the .x-sc_* exemptions were no long necessary. Remove those files and instead, provide exemptions via variable definitions in cfg.mk to address the few remaining exceptions. * .x-sc_prohibit_atoi_atof: Remove file. * .x-sc_space_tab: Likewise. * .x-sc_sun_os_names: Likewise. * .x-sc_trailing_blank: Likewise. * .x-sc_two_space_separator_in_usage: Likewise. * .x-sc_useless_cpp_parens: Likewise. * cfg.mk: Add minimal exemptions. * cfg.mk: Add minimal exemptions. * doc/standards.texi (Standard C): Address the sole useless-cpp-parens violation in this file: -#if defined (__STDC__) || defined (WINDOWSNT) +#if defined __STDC__ || defined WINDOWSNT With that, the only remaining offender is config.guess, whose name is now listed in cfg.mk. Suggested by Eric Blake.
-rw-r--r--.x-sc_prohibit_atoi_atof3
-rw-r--r--.x-sc_space_tab4
-rw-r--r--.x-sc_sun_os_names1
-rw-r--r--.x-sc_trailing_blank5
-rw-r--r--.x-sc_two_space_separator_in_usage1
-rw-r--r--.x-sc_useless_cpp_parens2
-rw-r--r--cfg.mk6
-rw-r--r--doc/standards.texi4
8 files changed, 8 insertions, 18 deletions
diff --git a/.x-sc_prohibit_atoi_atof b/.x-sc_prohibit_atoi_atof
deleted file mode 100644
index 4d68f470..00000000
--- a/.x-sc_prohibit_atoi_atof
+++ /dev/null
@@ -1,3 +0,0 @@
-ChangeLog
-maint.mk
-doc/autoconf.texi
diff --git a/.x-sc_space_tab b/.x-sc_space_tab
deleted file mode 100644
index f1d23c7b..00000000
--- a/.x-sc_space_tab
+++ /dev/null
@@ -1,4 +0,0 @@
-build-aux/config.guess
-build-aux/config.sub
-aclocal.m4
-configure
diff --git a/.x-sc_sun_os_names b/.x-sc_sun_os_names
deleted file mode 100644
index c05fdfdf..00000000
--- a/.x-sc_sun_os_names
+++ /dev/null
@@ -1 +0,0 @@
-build-aux/config.guess
diff --git a/.x-sc_trailing_blank b/.x-sc_trailing_blank
deleted file mode 100644
index 02274072..00000000
--- a/.x-sc_trailing_blank
+++ /dev/null
@@ -1,5 +0,0 @@
-build-aux/gendocs.sh
-build-aux/texinfo.tex
-doc/gendocs_template
-doc/gnu-oids.texi
-doc/standards.texi
diff --git a/.x-sc_two_space_separator_in_usage b/.x-sc_two_space_separator_in_usage
deleted file mode 100644
index 1b03a248..00000000
--- a/.x-sc_two_space_separator_in_usage
+++ /dev/null
@@ -1 +0,0 @@
-gnupload
diff --git a/.x-sc_useless_cpp_parens b/.x-sc_useless_cpp_parens
deleted file mode 100644
index 9c134e2d..00000000
--- a/.x-sc_useless_cpp_parens
+++ /dev/null
@@ -1,2 +0,0 @@
-build-aux/config.guess
-doc/standards.texi
diff --git a/cfg.mk b/cfg.mk
index 77e04877..3cfb1cce 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -133,3 +133,9 @@ old_NEWS_hash = 33207c359dd7db17cc0cd151da6b9567
exclude_file_name_regexp--sc_prohibit_undesirable_word_seq = ^maint\.mk$$
exclude_file_name_regexp--sc_prohibit_test_minus_ao = \
^(maint\.mk|doc/autoconf\.texi)$$
+
+exclude_file_name_regexp--sc_prohibit_atoi_atof = ^doc/autoconf\.texi$$
+exclude_file_name_regexp--sc_useless_cpp_parens = ^build-aux/config\.guess$$
+exclude_file_name_regexp--sc_trailing_blank = ^build-aux/texinfo\.tex$$
+exclude_file_name_regexp--sc_two_space_separator_in_usage = \
+ ^build-aux/gnupload$$
diff --git a/doc/standards.texi b/doc/standards.texi
index 06fd9c7a..642a4ff9 100644
--- a/doc/standards.texi
+++ b/doc/standards.texi
@@ -3,7 +3,7 @@
@setfilename standards.info
@settitle GNU Coding Standards
@c This date is automagically updated when you save this file:
-@set lastupdate January 8, 2012
+@set lastupdate January 21, 2012
@c %**end of header
@dircategory GNU organization
@@ -472,7 +472,7 @@ prototypes, you may want to use a preprocessor macro like this:
@example
/* Declare the prototype for a general external function. */
-#if defined (__STDC__) || defined (WINDOWSNT)
+#if defined __STDC__ || defined WINDOWSNT
#define P_(proto) proto
#else
#define P_(proto) ()