]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
util: remove unneeded #include in virrandom.c
authorLaine Stump <laine@laine.org>
Thu, 1 Mar 2012 16:42:30 +0000 (11:42 -0500)
committerLaine Stump <laine@laine.org>
Thu, 1 Mar 2012 17:44:12 +0000 (12:44 -0500)
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.

src/util/virrandom.c

index 151cf4bda8d9e73a23afa517a73a17ae98d729b6..9092fd2afe679b2cf3ab9067150b0a049717fa44 100644 (file)
@@ -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