diff options
author | Jim Meyering <meyering@redhat.com> | 2008-03-18 23:51:58 +0100 |
---|---|---|
committer | Jim Meyering <meyering@redhat.com> | 2008-03-18 23:51:58 +0100 |
commit | 2708cd9ca0d7d3babc0886409393eb827aa885fd (patch) | |
tree | 59b2a723227fcec21ae993cd197da0824602c285 | |
parent | 7feeb7cf23c987fe70cf41acbe1f4d854bf6807b (diff) | |
download | coreutils-2708cd9ca0d7d3babc0886409393eb827aa885fd.tar.xz |
syntax-check: Make the space-before-open-paren optional.
* Makefile.maint (sc_prohibit_assert_without_use): Match also
when there is no space before the opening parenthesis.
(sc_prohibit_getopt_without_use): Likewise.
(sc_prohibit_quotearg_without_use): Likewise.
(sc_prohibit_quote_without_use): Likewise.
-rw-r--r-- | Makefile.maint | 8 |
1 files changed, 4 insertions, 4 deletions
diff --git a/Makefile.maint b/Makefile.maint index 1b85559b3..ed44a49e9 100644 --- a/Makefile.maint +++ b/Makefile.maint @@ -182,19 +182,19 @@ endef # Prohibit the inclusion of assert.h without an actual use of assert. sc_prohibit_assert_without_use: - @h='<assert.h>' re='\<assert \(' $(_header_without_use) + @h='<assert.h>' re='\<assert *\(' $(_header_without_use) # Prohibit the inclusion of getopt.h without an actual use. sc_prohibit_getopt_without_use: - @h='<getopt.h>' re='\<getopt(_long)? \(' $(_header_without_use) + @h='<getopt.h>' re='\<getopt(_long)? *\(' $(_header_without_use) # Don't include quotearg.h unless you use one of its functions. sc_prohibit_quotearg_without_use: - @h='"quotearg.h"' re='\<quotearg(_[^ ]+)? \(' $(_header_without_use) + @h='"quotearg.h"' re='\<quotearg(_[^ ]+)? *\(' $(_header_without_use) # Don't include quote.h unless you use one of its functions. sc_prohibit_quote_without_use: - @h='"quote.h"' re='\<quote(_n)? \(' $(_header_without_use) + @h='"quote.h"' re='\<quote(_n)? *\(' $(_header_without_use) sc_obsolete_symbols: @grep -nE '\<(HAVE''_FCNTL_H|O''_NDELAY)\>' \ |