summaryrefslogtreecommitdiff
path: root/maint.mk
diff options
context:
space:
mode:
authorNikos Mavrogiannopoulos <nmav@gnutls.org>2011-10-26 23:43:43 +0200
committerNikos Mavrogiannopoulos <nmav@gnutls.org>2011-10-26 23:43:43 +0200
commit0a248bf1a8a2d7c82eea0c157984fb0fe4783ec2 (patch)
tree654694dc114420cefe84b8e7c208ed3bfbed9325 /maint.mk
parentb9da2448022a1e095e1a59e898a07d3ade8e8bcf (diff)
downloadgnutls-0a248bf1a8a2d7c82eea0c157984fb0fe4783ec2.tar.gz
new gnulib + added select + inet_pton.
Diffstat (limited to 'maint.mk')
-rw-r--r--maint.mk6
1 files changed, 4 insertions, 2 deletions
diff --git a/maint.mk b/maint.mk
index d51fec6638..4c71187335 100644
--- a/maint.mk
+++ b/maint.mk
@@ -618,7 +618,7 @@ _stddef_syms_re = NULL|offsetof|ptrdiff_t|size_t|wchar_t
# 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.
@@ -749,10 +749,12 @@ gl_other_headers_ ?= \
# Perl -lne code to extract "significant" cpp-defined symbols from a
# gnulib header file, eliminating a few common false-positives.
+# The exempted names below are defined only conditionally in gnulib,
+# and hence sometimes must/may be defined in application code.
gl_extract_significant_defines_ = \
/^\# *define ([^_ (][^ (]*)(\s*\(|\s+\w+)/\
&& $$2 !~ /(?:rpl_|_used_without_)/\
- && $$1 !~ /^(?:NSIG)$$/\
+ && $$1 !~ /^(?:NSIG|ENODATA)$$/\
&& $$1 !~ /^(?:SA_RESETHAND|SA_RESTART)$$/\
and print $$1