|
|
|
|
|
|
|
|
|
|
xen-devel
[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
|
<Prev in Thread] |
Current Thread |
[Next in Thread> |
- [Xen-devel] [patch] unnecessary zlib includes,
Hollis Blanchard <=
|
|
|
|
|