[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

[Xen-devel] [patch] unnecessary zlib includes



In my attempt to cross-compile libxc, I noticed a couple zlib includes that 
aren't actually needed. Compile-tested on x86.

-- 
Hollis Blanchard
IBM Linux Technology Center


Remove unnecessary zlib includes.
Signed-off-by: Hollis Blanchard <hollisb@xxxxxxxxxx>

diff -r fda088346631 tools/libxc/xc_core.c
--- a/tools/libxc/xc_core.c     Thu Mar 23 11:20:20 2006 -0600
+++ b/tools/libxc/xc_core.c     Thu Mar 23 11:24:37 2006 -0600
@@ -3,7 +3,6 @@
 #include "xc_elf.h"
 #include <stdlib.h>
 #include <unistd.h>
-#include <zlib.h>
 
 /* number of pages to write at a time */
 #define DUMP_INCREMENT (4 * 1024)
diff -r fda088346631 tools/libxc/xc_private.c
--- a/tools/libxc/xc_private.c  Thu Mar 23 11:20:20 2006 -0600
+++ b/tools/libxc/xc_private.c  Thu Mar 23 11:24:37 2006 -0600
@@ -4,7 +4,6 @@
  * Helper functions for the rest of the library.
  */
 
-#include <zlib.h>
 #include "xc_private.h"
 #include <xen/memory.h>
 

_______________________________________________
Xen-devel mailing list
Xen-devel@xxxxxxxxxxxxxxxxxxx
http://lists.xensource.com/xen-devel


 


Rackspace

Lists.xenproject.org is hosted with RackSpace, monitoring our
servers 24x7x365 and backed by RackSpace's Fanatical Support®.