diff options
author | Stefan Weil <weil@mail.berlios.de> | 2011-02-04 22:38:48 +0100 |
---|---|---|
committer | Blue Swirl <blauwirbel@gmail.com> | 2011-02-20 20:18:21 +0000 |
commit | 57a8821bc6e4457230075a5c8da5f8a083889686 (patch) | |
tree | 2ba377cf80ab1e5630e21cd8f34cc22c47b6606a /oslib-win32.c | |
parent | 08f3896a072c6d05e36ec3fa4fd303ea550ee38f (diff) |
w32: Remove implementation of function ffs
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 <aliguori@us.ibm.com>
Signed-off-by: Stefan Weil <weil@mail.berlios.de>
Signed-off-by: Blue Swirl <blauwirbel@gmail.com>
Diffstat (limited to 'oslib-win32.c')
-rw-r--r-- | oslib-win32.c | 7 |
1 files changed, 0 insertions, 7 deletions
diff --git a/oslib-win32.c b/oslib-win32.c index ab29eae45c..5f0759ffc4 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) |