diff options
author | Stefan Hajnoczi | 2015-03-23 16:29:30 +0100 |
---|---|---|
committer | Kevin Wolf | 2015-04-28 15:36:08 +0200 |
commit | f450a85899585776ccd0913d2361dd8f82666e44 (patch) | |
tree | 22983c7e3ad5c25613ec6f6eb8e5ff65bed5ac1f /include/sysemu/os-win32.h | |
parent | omap_intc: convert ffs(3) to ctz32() in omap_inth_sir_update() (diff) | |
download | qemu-f450a85899585776ccd0913d2361dd8f82666e44.tar.gz qemu-f450a85899585776ccd0913d2361dd8f82666e44.tar.xz qemu-f450a85899585776ccd0913d2361dd8f82666e44.zip |
os-win32: drop ffs(3) prototype
The lack of ffs(3) in the MinGW headers is a hint that we shouldn't rely
on it. MinGW 4.9.2 does not make it available for linking when QEMU's
./configure --enable-debug is used (release builds are fine though).
Now that all QEMU code has been switched to ctz32() there is no need for
ffs(3).
Signed-off-by: Stefan Hajnoczi <stefanha@redhat.com>
Message-id: 1427124571-28598-9-git-send-email-stefanha@redhat.com
Signed-off-by: Kevin Wolf <kwolf@redhat.com>
Diffstat (limited to 'include/sysemu/os-win32.h')
-rw-r--r-- | include/sysemu/os-win32.h | 3 |
1 files changed, 0 insertions, 3 deletions
diff --git a/include/sysemu/os-win32.h b/include/sysemu/os-win32.h index 9cc9e08139..4035c4fe54 100644 --- a/include/sysemu/os-win32.h +++ b/include/sysemu/os-win32.h @@ -72,9 +72,6 @@ #define sigsetjmp(env, savemask) setjmp(env) #define siglongjmp(env, val) longjmp(env, val) -/* Declaration of ffs() is missing in MinGW's strings.h. */ -int ffs(int i); - /* Missing POSIX functions. Don't use MinGW-w64 macros. */ #undef gmtime_r struct tm *gmtime_r(const time_t *timep, struct tm *result); |