]> git.ipfire.org Git - thirdparty/libvirt.git/commitdiff
virsh: drop unused headers
authorEric Blake <eblake@redhat.com>
Mon, 20 Aug 2012 15:56:25 +0000 (09:56 -0600)
committerEric Blake <eblake@redhat.com>
Mon, 20 Aug 2012 15:57:38 +0000 (09:57 -0600)
The previous commit now trips up 'make syntax-check' due to a useless
use of <signal.h>.

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

tools/virsh.c

index 72d35ff78545dd034bb282cd5d54e78b417ebba6..904ff33ccb0923edad54fd450d20ff6169d27d89 100644 (file)
@@ -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>