File mozilla-ppc-altivec_static_inline.patch of Package MozillaFirefox.9789

# HG changeset patch
# Parent  3933e5f24167ae53e652f2d23b6a053152504182

diff --git a/gfx/qcms/transform-altivec.c b/gfx/qcms/transform-altivec.c
--- a/gfx/qcms/transform-altivec.c
+++ b/gfx/qcms/transform-altivec.c
@@ -25,17 +25,17 @@
 
 #include "qcmsint.h"
 
 #define FLOATSCALE (float)(PRECACHE_OUTPUT_SIZE)
 #define CLAMPMAXVAL (((float) (PRECACHE_OUTPUT_SIZE - 1)) / PRECACHE_OUTPUT_SIZE)
 static const ALIGN float floatScaleX4 = FLOATSCALE;
 static const ALIGN float clampMaxValueX4 = CLAMPMAXVAL;
 
-inline vector float load_aligned_float(float *dataPtr)
+static inline vector float load_aligned_float(float *dataPtr)
 {
 	vector float data = vec_lde(0, dataPtr);
 	vector unsigned char moveToStart = vec_lvsl(0, dataPtr);
 	return vec_perm(data, data, moveToStart);
 }
 
 void qcms_transform_data_rgb_out_lut_altivec(qcms_transform *transform,
                                              unsigned char *src,