Received: from eggs.gnu.org ([140.186.70.92]:53259) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rl30Z-0007K8-9h for qemu-devel@nongnu.org; Wed, 11 Jan 2012 13:34:48 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rl30Y-0002Tx-6j for qemu-devel@nongnu.org; Wed, 11 Jan 2012 13:34:47 -0500 From: Stefan Weil Date: Wed, 11 Jan 2012 19:34:30 +0100 Message-Id: <1326306870-14484-3-git-send-email-sw@weilnetz.de> In-Reply-To: <1326306870-14484-1-git-send-email-sw@weilnetz.de> References: <1326306870-14484-1-git-send-email-sw@weilnetz.de> Subject: [Qemu-devel] [PATCH 2/2] virtfs-proxy-helper: Clean include files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: qemu-devel@nongnu.org Cc: qemu-trivial@nongnu.org, Stefan Weil , "M. Mohan Kumar" , "Aneesh Kumar K.V" The common standard include files are already included via qemu-common.h, and for the socket related include files there is qemu_socket.h, so the code can be reduced by some lines. Signed-off-by: Stefan Weil --- fsdev/virtfs-proxy-helper.c | 15 ++------------- 1 files changed, 2 insertions(+), 13 deletions(-) diff --git a/fsdev/virtfs-proxy-helper.c b/fsdev/virtfs-proxy-helper.c index ce7eb79..21e9b16 100644 --- a/fsdev/virtfs-proxy-helper.c +++ b/fsdev/virtfs-proxy-helper.c @@ -8,31 +8,20 @@ * This work is licensed under the terms of the GNU GPL, version 2. See * the COPYING file in the top-level directory. */ -#include -#include -#include -#include -#include -#include -#include -#include + #include -#include #include -#include #include #include #include -#include -#include #include -#include #include #include #ifdef CONFIG_LINUX_MAGIC_H #include #endif #include "qemu-common.h" +#include "qemu_socket.h" #include "qemu-xattr.h" #include "virtio-9p-marshal.h" #include "hw/9pfs/virtio-9p-proxy.h" -- 1.7.2.5