From: Jim Meyering Date: Tue, 2 Aug 2011 12:54:34 +0000 (+0200) Subject: maint.mk: relax the default _gl_TS_function_match regexp X-Git-Tag: v0.1~2033 X-Git-Url: http://erislabs.net/gitweb/?a=commitdiff_plain;h=8068b5d283630a295b2929b9dc6a65916b10f52f;hp=c596dce2525adef145e3ec2e1d3c89dc044ac8e8;p=gnulib.git 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(); --- diff --git a/ChangeLog b/ChangeLog index 6bcf68a90..8133867c3 100644 --- a/ChangeLog +++ b/ChangeLog @@ -1,3 +1,10 @@ +2011-08-02 Jim Meyering + + 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(); + 2011-07-31 Iain Nicol git-version-gen: document that EXTRA_DIST must include .version diff --git a/top/maint.mk b/top/maint.mk index 6c1bf443c..d36493454 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: