[Top][All Lists]
[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]
[PATCH 6/8] maint: prepare for gnulib's new tight-scope syntax-check rul
From: |
Jim Meyering |
Subject: |
[PATCH 6/8] maint: prepare for gnulib's new tight-scope syntax-check rule |
Date: |
Fri, 13 May 2011 12:13:48 +0200 |
From: Jim Meyering <address@hidden>
* cfg.mk (_gl_TS_dir): Define.
(_gl_TS_unmarked_extern_vars): Define.
---
cfg.mk | 7 +++++++
1 files changed, 7 insertions(+), 0 deletions(-)
diff --git a/cfg.mk b/cfg.mk
index f9e7d25..7433015 100644
--- a/cfg.mk
+++ b/cfg.mk
@@ -74,3 +74,10 @@ exclude_file_name_regexp--sc_require_config_h_first =
^lib/match\.c$$
exclude_file_name_regexp--sc_prohibit_empty_lines_at_EOF = \
^tests/hufts-segv\.gz$$
exclude_file_name_regexp--sc_prohibit_strcmp = ^gzip\.c$$
+
+# Tell the tight_scope rule that sources are in ".".
+export _gl_TS_dir = .
+
+# Tell the tight_scope rule that these variables are deliberately "extern".
+export _gl_TS_unmarked_extern_vars = \
+ block_start d_buf inbuf outbuf prev read_buf strstart window
--
1.7.5.1.398.g86d1d
- FYI: 8 maint/NSC changes, Jim Meyering, 2011/05/13
- [PATCH 6/8] maint: prepare for gnulib's new tight-scope syntax-check rule,
Jim Meyering <=
- [PATCH 7/8] build: update gnulib submodule to latest, Jim Meyering, 2011/05/13
- [PATCH 2/8] maint: remove all uses of OF((...)) prototype-hiding macro, Jim Meyering, 2011/05/13
- [PATCH 5/8] maint: declare many variables to be static, Jim Meyering, 2011/05/13
- [PATCH 4/8] maint: remove crypt.[ch] stubs, Jim Meyering, 2011/05/13
- [PATCH 8/8] maint: use gnulib's new readme-release module, Jim Meyering, 2011/05/13
- [PATCH 3/8] maint: limit scope of several functions, Jim Meyering, 2011/05/13
- [PATCH 1/8] maint: prepare for tight-scope rule: use noinst_HEADERS, Jim Meyering, 2011/05/13