* top/maint.mk (sc_prohibit_openat_without_use): New rule.
+2009-09-05 Jim Meyering <meyering@redhat.com>
+
+ syntax-check: detect unnecessary inclusion of openat.h
+ * top/maint.mk (sc_prohibit_openat_without_use): New rule.
+
2009-09-05 Bruno Haible <bruno@clisp.org>
Support towlower, towupper.
re='(\<ROOT_DEV_INO_(CHECK|WARN)\>|\<get_root_dev_ino *\()' \
$(_header_without_use)
+sc_prohibit_openat_without_use:
+ @h='"openat.h"' \
+ re='\<(openat_(permissive|needs_fchdir|(save|restore)_fail)|l?ch(own|mod)at)\>' \
+ $(_header_without_use)
+
# Prohibit the inclusion of c-ctype.h without an actual use.
ctype_re = isalnum|isalpha|isascii|isblank|iscntrl|isdigit|isgraph|islower\
|isprint|ispunct|isspace|isupper|isxdigit|tolower|toupper