summaryrefslogtreecommitdiff
path: root/cutils.c
diff options
context:
space:
mode:
authorblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-11 19:37:54 +0000
committerblueswir1 <blueswir1@c046a42c-6fe2-441c-8c8c-71466251a162>2008-12-11 19:37:54 +0000
commitad46db9add5bb5d8190f8d0eba4372f1fe6faa8a (patch)
treef0098ed56c953c65c116714335a03400785a7f9a /cutils.c
parent807d517027d22869a3470b721a6c270f726d25e0 (diff)
downloadqemu-ad46db9add5bb5d8190f8d0eba4372f1fe6faa8a.tar.gz
qemu-ad46db9add5bb5d8190f8d0eba4372f1fe6faa8a.tar.bz2
qemu-ad46db9add5bb5d8190f8d0eba4372f1fe6faa8a.zip
Rename fls to qemu_fls
Fix compiler warning on OSX, reported by Andreas Faerber. git-svn-id: svn://svn.savannah.nongnu.org/qemu/trunk@5982 c046a42c-6fe2-441c-8c8c-71466251a162
Diffstat (limited to 'cutils.c')
-rw-r--r--cutils.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/cutils.c b/cutils.c
index 2d65357ee4..9617e083c6 100644
--- a/cutils.c
+++ b/cutils.c
@@ -97,7 +97,7 @@ time_t mktimegm(struct tm *tm)
return t;
}
-int fls(int i)
+int qemu_fls(int i)
{
return 32 - clz32(i);
}