From patchwork Fri Oct 15 14:05:53 2010 Content-Type: text/plain; charset="utf-8" MIME-Version: 1.0 Content-Transfer-Encoding: 7bit X-Patchwork-Submitter: Jes Sorensen X-Patchwork-Id: 67963 Return-Path: X-Original-To: incoming@patchwork.ozlabs.org Delivered-To: patchwork-incoming@bilbo.ozlabs.org Received: from lists.gnu.org (lists.gnu.org [199.232.76.165]) (using TLSv1 with cipher DHE-RSA-AES256-SHA (256/256 bits)) (Client did not present a certificate) by ozlabs.org (Postfix) with ESMTPS id 30BEAB70D6 for ; Sat, 16 Oct 2010 01:36:53 +1100 (EST) Received: from localhost ([127.0.0.1]:53657 helo=lists.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6lOr-0007Pd-LB for incoming@patchwork.ozlabs.org; Fri, 15 Oct 2010 10:36:49 -0400 Received: from [140.186.70.92] (port=38157 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1P6l9r-00042g-QR for qemu-devel@nongnu.org; Fri, 15 Oct 2010 10:21:25 -0400 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1P6kv9-0007mG-I5 for qemu-devel@nongnu.org; Fri, 15 Oct 2010 10:06:08 -0400 Received: from mx1.redhat.com ([209.132.183.28]:60681) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1P6kv9-0007lx-AK for qemu-devel@nongnu.org; Fri, 15 Oct 2010 10:06:07 -0400 Received: from int-mx10.intmail.prod.int.phx2.redhat.com (int-mx10.intmail.prod.int.phx2.redhat.com [10.5.11.23]) by mx1.redhat.com (8.13.8/8.13.8) with ESMTP id o9FE664i025796 (version=TLSv1/SSLv3 cipher=DHE-RSA-AES256-SHA bits=256 verify=OK) for ; Fri, 15 Oct 2010 10:06:06 -0400 Received: from localhost6.localdomain6 (ovpn-113-85.phx2.redhat.com [10.3.113.85]) by int-mx10.intmail.prod.int.phx2.redhat.com (8.14.4/8.14.4) with ESMTP id o9FE5tSs014808 for ; Fri, 15 Oct 2010 10:06:05 -0400 From: Jes.Sorensen@redhat.com To: qemu-devel@nongnu.org Date: Fri, 15 Oct 2010 16:05:53 +0200 Message-Id: <1287151553-16894-10-git-send-email-Jes.Sorensen@redhat.com> In-Reply-To: <1287151553-16894-1-git-send-email-Jes.Sorensen@redhat.com> References: <1287151553-16894-1-git-send-email-Jes.Sorensen@redhat.com> X-Scanned-By: MIMEDefang 2.68 on 10.5.11.23 X-detected-operating-system: by eggs.gnu.org: Genre and OS details not recognized. Subject: [Qemu-devel] [PATCH 9/9] Remove unncessary includes X-BeenThere: qemu-devel@nongnu.org X-Mailman-Version: 2.1.5 Precedence: list List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , Sender: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org Errors-To: qemu-devel-bounces+incoming=patchwork.ozlabs.org@nongnu.org From: Jes Sorensen No need to include stdlib.h for BSD as it is included by qemu-common.h, windows.h is handled by sysemu.h and osdep.c no longer needs malloc.h Signed-off-by: Jes Sorensen --- osdep.c | 8 -------- 1 files changed, 0 insertions(+), 8 deletions(-) diff --git a/osdep.c b/osdep.c index 0d48561..327583b 100644 --- a/osdep.c +++ b/osdep.c @@ -44,14 +44,6 @@ extern int madvise(caddr_t, size_t, int); #endif -#ifdef _WIN32 -#include -#elif defined(CONFIG_BSD) -#include -#else -#include -#endif - #include "qemu-common.h" #include "trace.h" #include "sysemu.h"