added the 'static' keyword to inline functions to keep gcc happy
[openjpeg.git] / libopenjpeg / fix.h
index 9dd5839a62c28552fb39f2a2f608831174d1051f..85575cbcee9f2caff698e434c3d13253229253d5 100644 (file)
@@ -52,7 +52,7 @@ Multiply two fixed-precision rational numbers.
 @param b
 @return Returns a * b
 */
-INLINE int fix_mul(int a, int b) {
+static INLINE int fix_mul(int a, int b) {
     int64 temp = (int64) a * (int64) b >> 12;
     return (int) ((temp >> 1) + (temp & 1)) ;
 }