summaryrefslogtreecommitdiff
path: root/top
diff options
context:
space:
mode:
authorJim Meyering <meyering@redhat.com>2011-08-02 14:54:34 +0200
committerJim Meyering <meyering@redhat.com>2011-08-02 14:54:34 +0200
commit8068b5d283630a295b2929b9dc6a65916b10f52f (patch)
tree11f143dbd3c4c0ca8c312eac671bf1401a82b4cd /top
parentc596dce2525adef145e3ec2e1d3c89dc044ac8e8 (diff)
downloadgnulib-8068b5d283630a295b2929b9dc6a65916b10f52f.tar.gz
maint.mk: relax the default _gl_TS_function_match regexp
* top/maint.mk (_gl_TS_function_match): Don't require at least one space between function name and "(" in an "extern" declaration. That would fail to match a decl with no space there: extern void foo();
Diffstat (limited to 'top')
-rw-r--r--top/maint.mk2
1 files changed, 1 insertions, 1 deletions
diff --git a/top/maint.mk b/top/maint.mk
index 6c1bf443cb..d364934549 100644
--- a/top/maint.mk
+++ b/top/maint.mk
@@ -1427,7 +1427,7 @@ ifeq (a,b)
# do not need to be marked. Symbols matching `__.*' are
# reserved by the compiler, so are automatically excluded below.
_gl_TS_unmarked_extern_functions ?= main usage
-_gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\S+) +\(/
+_gl_TS_function_match ?= /^(?:$(_gl_TS_extern)) +.*?(\S+) *\(/
# If your project uses a macro like "XTERN", then put
# the following in cfg.mk to override this default: