* top/maint.mk (sc_prohibit_canonicalize_without_use): New rule.
+2009-09-19 Jim Meyering <meyering@redhat.com>
+
+ syntax-check: detect unnecessary inclusion of canonicalize.h
+ * top/maint.mk (sc_prohibit_canonicalize_without_use): New rule.
+
2009-09-19 Eric Blake <ebb9@byu.net>
canonicalize-lgpl: adjust clients to use correct header
re='(\<(ARRAY_CARDINALITY|X?ARGMATCH(|_TO_ARGUMENT|_VERIFY))\>|\<argmatch(_exit_fn|_(in)?valid) *\()' \
$(_header_without_use)
+sc_prohibit_canonicalize_without_use:
+ @h='"canonicalize.h"' \
+ re='CAN_(EXISTING|ALL_BUT_LAST|MISSING)|canonicalize_(mode_t|filename_mode)' \
+ $(_header_without_use)
+
sc_prohibit_root_dev_ino_without_use:
@h='"root-dev-ino.h"' \
re='(\<ROOT_DEV_INO_(CHECK|WARN)\>|\<get_root_dev_ino *\()' \