From: Laine Stump Date: Thu, 1 Mar 2012 16:42:30 +0000 (-0500) Subject: util: remove unneeded #include in virrandom.c X-Git-Tag: v0.9.11-rc1~174 X-Git-Url: http://git.ipfire.org/cgi-bin/gitweb.cgi?a=commitdiff_plain;h=3c30fbcd4a0320d2eba723445b0f2306193e1685;p=thirdparty%2Flibvirt.git util: remove unneeded #include in virrandom.c Commit 7c90026 added #include "conf/domain_conf.h" to util/virrandom.c. Fortunately it didn't actually use anything from domain_conf.h, since as far as I'm aware, files in util aren't allowed to reference anything in conf (although the opposite is allowed). So this #include is unnecessary. I verified it still compiles with the line removed, but have placed a one day moratorium on me doing any "trivial rule" pushes, so will wait for someone else to verify/ACK before pushing. --- diff --git a/src/util/virrandom.c b/src/util/virrandom.c index 151cf4bda8..9092fd2afe 100644 --- a/src/util/virrandom.c +++ b/src/util/virrandom.c @@ -29,7 +29,6 @@ #include "count-one-bits.h" #include "util.h" #include "virterror_internal.h" -#include "conf/domain_conf.h" #define VIR_FROM_THIS VIR_FROM_NONE