summaryrefslogtreecommitdiff
path: root/libopenjpeg/fix.h
diff options
context:
space:
mode:
authorFreeimage <freeimage@aliceadsl.fr>2006-02-03 23:08:52 +0000
committerFreeimage <freeimage@aliceadsl.fr>2006-02-03 23:08:52 +0000
commit48311061c139ebaaa38015c735c87bce84748bbf (patch)
treee561bfa6b3fc8691796a840ba1c459a3b734dd5a /libopenjpeg/fix.h
parent39ad332ceedf09b3e3718b7a517e4e3d07c36a85 (diff)
added the 'static' keyword to inline functions to keep gcc happy
Diffstat (limited to 'libopenjpeg/fix.h')
-rw-r--r--libopenjpeg/fix.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/libopenjpeg/fix.h b/libopenjpeg/fix.h
index 9dd5839a..85575cbc 100644
--- 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)) ;
}