[PATCH] virsh: drop unused headers

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

 



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

--
libvir-list mailing list
libvir-list@xxxxxxxxxx
https://www.redhat.com/mailman/listinfo/libvir-list


[Index of Archives]     [Virt Tools]     [Libvirt Users]     [Lib OS Info]     [Fedora Users]     [Fedora Desktop]     [Fedora SELinux]     [Big List of Linux Books]     [Yosemite News]     [KDE Users]     [Fedora Tools]