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

[Xen-devel] [PATCH] fix some header usage in tools/misc/



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


 


Rackspace

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