From: Blue Swirl Date: Fri, 25 Feb 2011 17:21:22 +0000 (+0000) Subject: bitops: fix error on OpenBSD and mingw32 X-Git-Tag: TizenStudio_2.0_p2.3~3278 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=390b38b38144f8fb59bf05dc3c285df7a698bb65;p=sdk%2Femulator%2Fqemu.git bitops: fix error on OpenBSD and mingw32 Fix this error: CC bitops.o In file included from /src/qemu/bitops.c:14: /src/qemu/bitops.h:69: error: expected '=', ',', ';', 'asm' or '__attribute__' before 'unsigned' Signed-off-by: Blue Swirl --- diff --git a/bitops.h b/bitops.h index e2b9df3..07d1a06 100644 --- a/bitops.h +++ b/bitops.h @@ -66,7 +66,7 @@ static unsigned long bitops_ffsl(unsigned long word) * * Undefined if no set bit exists, so code should check against 0 first. */ -static __always_inline unsigned long bitops_flsl(unsigned long word) +static inline unsigned long bitops_flsl(unsigned long word) { int num = BITS_PER_LONG - 1;