WARNING - OLD ARCHIVES

This is an archived copy of the Xen.org mailing list, which we have preserved to ensure that existing links to archives are not broken. The live archive, which contains the latest emails, can be found at http://lists.xen.org/
   
 
 
Xen 
 
Home Products Support Community News
 
   
 

xen-devel

[Xen-devel] [patch] unnecessary zlib includes

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [patch] unnecessary zlib includes
From: Hollis Blanchard <hollisb@xxxxxxxxxx>
Date: Thu, 23 Mar 2006 11:27:10 -0600
Delivery-date: Thu, 23 Mar 2006 17:28:56 +0000
Envelope-to: www-data@xxxxxxxxxxxxxxxxxxx
List-help: <mailto:xen-devel-request@lists.xensource.com?subject=help>
List-id: Xen developer discussion <xen-devel.lists.xensource.com>
List-post: <mailto:xen-devel@lists.xensource.com>
List-subscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=subscribe>
List-unsubscribe: <http://lists.xensource.com/cgi-bin/mailman/listinfo/xen-devel>, <mailto:xen-devel-request@lists.xensource.com?subject=unsubscribe>
Organization: IBM Linux Technology Center
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: KMail/1.8.3
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

<Prev in Thread] Current Thread [Next in Thread>
  • [Xen-devel] [patch] unnecessary zlib includes, Hollis Blanchard <=