]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
libxl: do not include math.h
authorJán Tomko <jtomko@redhat.com>
Tue, 25 Aug 2020 15:34:03 +0000 (17:34 +0200)
committerJán Tomko <jtomko@redhat.com>
Tue, 1 Sep 2020 19:52:47 +0000 (21:52 +0200)
The include was introduced by:
  commit 3d6fe99c5c3b862db1b345da3598a920f1079b6e
    Add vcpu functions to libxl driver
which used ceil() and floor(), but these were later
removed by:
  commit 3eb869a04bdeaddbe10e74568540e865fb79e412
    libxl: avoid compiler warning
which did not remove the include.

Signed-off-by: Ján Tomko <jtomko@redhat.com>
Reviewed-by: Jim Fehlig <jfehlig@suse.com>
src/libxl/libxl_driver.c

index ccda4e003170744a8e1ab55d2997ceef45a46f98..161a6882f3a5166ac577f8352dad078d402d4940 100644 (file)
@@ -22,7 +22,6 @@
 
 #include <config.h>
 
-#include <math.h>
 #include <libxl.h>
 #include <libxl_utils.h>
 #include <xenstore.h>