diff options
author | Pádraig Brady <P@draigBrady.com> | 2015-10-18 21:15:35 +0100 |
---|---|---|
committer | Pádraig Brady <P@draigBrady.com> | 2015-10-18 23:25:29 +0100 |
commit | 2a8b497f35cbc9548eff83752c37fc0ff0ab25cc (patch) | |
tree | 332ac245d3b36d40ffd0f4dc8c26def9e13f5704 /top | |
parent | b0ac02e82a6a1ef9d6285bbb8bef917d4736ac9b (diff) | |
download | gnulib-2a8b497f35cbc9548eff83752c37fc0ff0ab25cc.tar.gz |
maint.mk: sc_tight_scope: remove extraneous expressions
* top/maint.mk (tight_scope): This is not really required since
commit 3ef58f46 as sed_wrap ensures we don't get an empty expression
that matches all nm entries. But it does remove extraneous entries
that may be confusing or cause issue in future maintenance.
Diffstat (limited to 'top')
-rw-r--r-- | top/maint.mk | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/top/maint.mk b/top/maint.mk index 4887e5daee..893874b45d 100644 --- a/top/maint.mk +++ b/top/maint.mk @@ -1645,7 +1645,7 @@ _gl_tight_scope: $(bin_PROGRAMS) test -f $$f && d= || d=$(srcdir)/; echo $$d$$f; done`; \ ( printf '%s\n' '__.*' $(_gl_TS_unmarked_extern_functions); \ grep -h -A1 '^extern .*[^;]$$' $$src \ - | grep -vE '^(extern |--)' | $(SED) 's/ .*//'; \ + | grep -vE '^(extern |--|#)' | $(SED) 's/ .*//; /^$$/d'; \ perl -lne \ '$(_gl_TS_function_match) and print $$1' $$hdr; \ ) | sort -u | $(SED) "$$sed_wrap" > $$t; \ |