projects
/
openjpeg.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
| inline |
side by side
added the 'static' keyword to inline functions to keep gcc happy
[openjpeg.git]
/
libopenjpeg
/
fix.h
diff --git
a/libopenjpeg/fix.h
b/libopenjpeg/fix.h
index 9dd5839a62c28552fb39f2a2f608831174d1051f..85575cbcee9f2caff698e434c3d13253229253d5 100644
(file)
--- a/
libopenjpeg/fix.h
+++ b/
libopenjpeg/fix.h
@@
-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)) ;
}