added the 'static' keyword to inline functions to keep gcc happy
This commit is contained in:
@@ -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)) ;
|
||||
}
|
||||
|
||||
Reference in New Issue
Block a user