Received: from [140.186.70.92] (port=36265 helo=eggs.gnu.org) by lists.gnu.org with esmtp (Exim 4.43) id 1PlTMx-0000Ny-86 for qemu-devel@nongnu.org; Fri, 04 Feb 2011 16:39:08 -0500 Received: from Debian-exim by eggs.gnu.org with spam-scanned (Exim 4.71) (envelope-from ) id 1PlTMw-0003Kw-3q for qemu-devel@nongnu.org; Fri, 04 Feb 2011 16:39:07 -0500 Received: from moutng.kundenserver.de ([212.227.17.10]:59974) by eggs.gnu.org with esmtp (Exim 4.71) (envelope-from ) id 1PlTMv-0003K2-Nv for qemu-devel@nongnu.org; Fri, 04 Feb 2011 16:39:06 -0500 From: Stefan Weil Date: Fri, 4 Feb 2011 22:38:48 +0100 Message-Id: <1296855528-17009-2-git-send-email-weil@mail.berlios.de> In-Reply-To: <1296855528-17009-1-git-send-email-weil@mail.berlios.de> References: <1296855528-17009-1-git-send-email-weil@mail.berlios.de> Subject: [Qemu-devel] [PATCH 2/2] w32: Remove implementation of function ffs List-Id: qemu-devel.nongnu.org List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , To: QEMU Developers Cc: Anthony Liguori This implementation is no longer needed. ffs is either a built-in function (for compilations with optimisation) or taken from libiberty.a (which was added by the previous patch). Cc: Anthony Liguori Signed-off-by: Stefan Weil --- oslib-win32.c | 7 ------- 1 files changed, 0 insertions(+), 7 deletions(-) diff --git a/oslib-win32.c b/oslib-win32.c index ab29eae..5f0759f 100644 --- a/oslib-win32.c +++ b/oslib-win32.c @@ -93,13 +93,6 @@ void qemu_set_cloexec(int fd) { } -/* mingw32 needs ffs for compilations without optimization. */ -int ffs(int i) -{ - /* Use gcc's builtin ffs. */ - return __builtin_ffs(i); -} - /* Offset between 1/1/1601 and 1/1/1970 in 100 nanosec units */ #define _W32_FT_OFFSET (116444736000000000ULL) -- 1.7.2.3