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

[libvirt] [PATCH] virsh: drop unused headers



The previous commit now trips up 'make syntax-check' due to a useless
use of <signal.h>.

* tools/virsh.c (includes): Drop useless includes.
---

Pushing under the build-breaker rule.

 tools/virsh.c | 4 ----
 1 file changed, 4 deletions(-)

diff --git a/tools/virsh.c b/tools/virsh.c
index 72d35ff..904ff33 100644
--- a/tools/virsh.c
+++ b/tools/virsh.c
@@ -32,9 +32,7 @@
 #include <unistd.h>
 #include <errno.h>
 #include <getopt.h>
-#include <sys/types.h>
 #include <sys/time.h>
-#include <sys/wait.h>
 #include "c-ctype.h"
 #include <fcntl.h>
 #include <locale.h>
@@ -43,8 +41,6 @@
 #include <assert.h>
 #include <sys/stat.h>
 #include <inttypes.h>
-#include <signal.h>
-#include <poll.h>
 #include <strings.h>
 #include <termios.h>

-- 
1.7.11.4


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