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] fix some header usage in tools/misc/

To: xen-devel@xxxxxxxxxxxxxxxxxxx
Subject: [Xen-devel] [PATCH] fix some header usage in tools/misc/
From: John Levon <levon@xxxxxxxxxxxxxxxxx>
Date: Thu, 27 Oct 2005 16:55:33 +0100
Delivery-date: Thu, 27 Oct 2005 15:52:51 +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>
Sender: xen-devel-bounces@xxxxxxxxxxxxxxxxxxx
User-agent: Mutt/1.5.9i
Remove a non-portable and unused error.h, and use signal.h not
sys/signal.h.

# HG changeset patch
# User levon@xxxxxxxxxxxxxxxxx
# Node ID 12ff3bd86d054ed4307c4056ed8185d55b93f1c6
# Parent  b0cc38e1569ad26de8202737775c9b87fefd42b5
fix header usage

diff -r b0cc38e1569a -r 12ff3bd86d05 tools/misc/cpuperf/cpuperf.c
--- a/tools/misc/cpuperf/cpuperf.c      Thu Oct 27 16:49:12 2005 +0000
+++ b/tools/misc/cpuperf/cpuperf.c      Thu Oct 27 16:49:47 2005 +0000
@@ -16,7 +16,6 @@
 
 #include <sys/types.h>
 #include <sched.h>
-#include <error.h>
 #include <stdio.h>
 #include <unistd.h>
 #include <stdlib.h>
diff -r b0cc38e1569a -r 12ff3bd86d05 tools/misc/miniterm/miniterm.c
--- a/tools/misc/miniterm/miniterm.c    Thu Oct 27 16:49:12 2005 +0000
+++ b/tools/misc/miniterm/miniterm.c    Thu Oct 27 16:49:47 2005 +0000
@@ -29,7 +29,7 @@
 #include <stdlib.h>
 #include <unistd.h>
 #include <fcntl.h>
-#include <sys/signal.h>
+#include <signal.h>
 #include <sys/types.h>
 #include <sys/wait.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] fix some header usage in tools/misc/, John Levon <=