Mercurial > hg > octave-lyh > gnulib-hg
changeset 15990:2f6844abf7fd
maint.mk: fix a bug in sc_prohibit_stddef_without_use
* top/maint.mk (sc_prohibit_stddef_without_use): Don't require / *\(/
after symbols like NULL, size_t, etc.
Reported by Alfred M. Szmidt.
author | Jim Meyering <meyering@redhat.com> |
---|---|
date | Tue, 25 Oct 2011 15:49:18 +0200 |
parents | 30a6c0b6ac8c |
children | 19758b0c3160 |
files | ChangeLog top/maint.mk |
diffstat | 2 files changed, 6 insertions(+), 1 deletions(-) [+] |
line wrap: on
line diff
--- a/ChangeLog +++ b/ChangeLog @@ -1,5 +1,10 @@ 2011-10-25 Jim Meyering <meyering@redhat.com> + maint.mk: fix a bug in sc_prohibit_stddef_without_use + * top/maint.mk (sc_prohibit_stddef_without_use): Don't require / *\(/ + after symbols like NULL, size_t, etc. + Reported by Alfred M. Szmidt. + maint.mk: exempt ENODATA from a syntax-check rule * top/maint.mk (gl_extract_significant_defines_): Also exempt ENODATA from the sc_prohibit_always-defined_macros syntax-check rule.
--- a/top/maint.mk +++ b/top/maint.mk @@ -618,7 +618,7 @@ # Prohibit the inclusion of stddef.h without an actual use. sc_prohibit_stddef_without_use: @h='stddef.h' \ - re='\<($(_stddef_syms_re)) *\(' \ + re='\<($(_stddef_syms_re))\>' \ $(_sc_header_without_use) # Prohibit the inclusion of verify.h without an actual use.