added the 'static' keyword to inline functions to keep gcc happy

This commit is contained in:
Freeimage
2006-02-03 23:08:52 +00:00
parent 39ad332cee
commit 48311061c1
2 changed files with 9 additions and 9 deletions

View 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)) ;
}