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>
# 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
#include "qemu_slirp.h"
#include "qemu_block.h"
#include "cpu/cpu.h"
-#include "dirname.h"
#include "viralloc.h"
#include "virlog.h"
#include "virarch.h"
#include "virsecret.h"
#include "virstring.h"
#include "viraccessapicheck.h"
-//#include "dirname.h"
#include "storage_util.h"
#define VIR_FROM_THIS VIR_FROM_STORAGE
#include "virlog.h"
#include "virstoragefile.h"
#include "virstring.h"
-#include "dirname.h"
#include "storage/storage_driver.h"