From mboxrd@z Thu Jan 1 00:00:00 1970 Received: from eggs.gnu.org ([140.186.70.92]:42454) by lists.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rlekv-00084J-DU for qemu-devel@nongnu.org; Fri, 13 Jan 2012 05:53:15 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1Rlekt-0001Kd-1G for qemu-devel@nongnu.org; Fri, 13 Jan 2012 05:53:09 -0500 Received: from e06smtp14.uk.ibm.com ([195.75.94.110]:59258) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1Rleks-0001K8-Nz for qemu-devel@nongnu.org; Fri, 13 Jan 2012 05:53:06 -0500 Received: from /spool/local by e06smtp14.uk.ibm.com with IBM ESMTP SMTP Gateway: Authorized Use Only! Violators will be prosecuted for from ; Fri, 13 Jan 2012 10:53:00 -0000 Received: from d06av04.portsmouth.uk.ibm.com (d06av04.portsmouth.uk.ibm.com [9.149.37.216]) by d06nrmr1707.portsmouth.uk.ibm.com (8.13.8/8.13.8/NCO v10.0) with ESMTP id q0DAqubP2592914 for ; Fri, 13 Jan 2012 10:52:56 GMT Received: from d06av04.portsmouth.uk.ibm.com (loopback [127.0.0.1]) by d06av04.portsmouth.uk.ibm.com (8.14.4/8.13.1/NCO v10.0 AVout) with ESMTP id q0DAqu83027916 for ; Fri, 13 Jan 2012 03:52:56 -0700 From: Stefan Hajnoczi Date: Fri, 13 Jan 2012 10:51:38 +0000 Message-Id: <1326451900-18325-11-git-send-email-stefanha@linux.vnet.ibm.com> In-Reply-To: <1326451900-18325-1-git-send-email-stefanha@linux.vnet.ibm.com> References: <1326451900-18325-1-git-send-email-stefanha@linux.vnet.ibm.com> Subject: [Qemu-devel] [PATCH 10/12] virtfs-proxy-helper: Clean include files List-Id: List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: Anthony Liguori Cc: Stefan Weil , qemu-devel@nongnu.org, Stefan Hajnoczi From: Stefan Weil 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 Signed-off-by: Stefan Hajnoczi --- 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.7.3