src: remove unused imports of dirname.h

A few places were importing dirname.h without actually using it.

Reviewed-by: Fabiano Fidêncio <fidencio@redhat.com>
Signed-off-by: Daniel P. Berrangé <berrange@redhat.com>
This commit is contained in:
Daniel P. Berrangé
2019-12-23 15:37:45 +00:00
parent bf7d2a26a3
commit 8812163124
4 changed files with 1 additions and 4 deletions

View File

@@ -611,7 +611,7 @@ sc_forbid_manual_xml_indent:
# dirname and basename from <libgen.h> are not required to be thread-safe
sc_prohibit_libgen:
@prohibit='( (base|dir)name *\(|include .libgen\.h)' \
halt='use functions from gnulib "dirname.h", not <libgen.h>' \
halt='use functions from GLib, not <libgen.h>' \
$(_sc_search_regexp)
# raw xmlGetProp requires some nasty casts