[flac-dev] [PATCH 1/3] Make FLAC__clz_soft_uint32 static.

Miroslav Lichvar mlichvar at redhat.com
Tue Aug 28 02:58:39 PDT 2012


---
 src/libFLAC/include/private/bitmath.h |    2 +-
 1 files changed, 1 insertions(+), 1 deletions(-)

diff --git a/src/libFLAC/include/private/bitmath.h b/src/libFLAC/include/private/bitmath.h
index 61b0e03..d32b1a7 100644
--- a/src/libFLAC/include/private/bitmath.h
+++ b/src/libFLAC/include/private/bitmath.h
@@ -42,7 +42,7 @@
 #endif
 
 /* Will never be emitted for MSVC, GCC, Intel compilers */
-inline unsigned int FLAC__clz_soft_uint32(unsigned int word)
+static inline unsigned int FLAC__clz_soft_uint32(unsigned int word)
 {
     static const unsigned char byte_to_unary_table[] = {
     8, 7, 6, 6, 5, 5, 5, 5, 4, 4, 4, 4, 4, 4, 4, 4,
-- 
1.7.7.6



More information about the flac-dev mailing list