summaryrefslogtreecommitdiff
path: root/src
diff options
context:
space:
mode:
authormayeut <mayeut@users.noreply.github.com>2015-07-26 19:01:52 +0200
committermayeut <mayeut@users.noreply.github.com>2015-07-26 19:01:52 +0200
commit2452bb7c45256c82b895ab25875aa3d77aedf90d (patch)
tree87ba1affa5723784f1e2d5da3915114160037cec /src
parent85904a3291e3c3364f41d0da473450bf1f0043f3 (diff)
Remove some warnings when building
Update #442
Diffstat (limited to 'src')
-rw-r--r--src/bin/jp2/convert.h8
1 files changed, 4 insertions, 4 deletions
diff --git a/src/bin/jp2/convert.h b/src/bin/jp2/convert.h
index 4293960f..ab1d61a8 100644
--- a/src/bin/jp2/convert.h
+++ b/src/bin/jp2/convert.h
@@ -72,14 +72,14 @@ void scale_component(opj_image_comp_t* component, OPJ_UINT32 precision);
/* planar / interleaved conversions */
typedef void (* convert_32s_CXPX)(const OPJ_INT32* pSrc, OPJ_INT32* const* pDst, OPJ_SIZE_T length);
-const convert_32s_CXPX convert_32s_CXPX_LUT[5];
+extern const convert_32s_CXPX convert_32s_CXPX_LUT[5];
typedef void (* convert_32s_PXCX)(OPJ_INT32 const* const* pSrc, OPJ_INT32* pDst, OPJ_SIZE_T length, OPJ_INT32 adjust);
-const convert_32s_PXCX convert_32s_PXCX_LUT[5];
+extern const convert_32s_PXCX convert_32s_PXCX_LUT[5];
/* bit depth conversions */
typedef void (* convert_XXx32s_C1R)(const OPJ_BYTE* pSrc, OPJ_INT32* pDst, OPJ_SIZE_T length);
-const convert_XXx32s_C1R convert_XXu32s_C1R_LUT[9]; /* up to 8bpp */
+extern const convert_XXx32s_C1R convert_XXu32s_C1R_LUT[9]; /* up to 8bpp */
typedef void (* convert_32sXXx_C1R)(const OPJ_INT32* pSrc, OPJ_BYTE* pDst, OPJ_SIZE_T length);
-const convert_32sXXx_C1R convert_32sXXu_C1R_LUT[9]; /* up to 8bpp */
+extern const convert_32sXXx_C1R convert_32sXXu_C1R_LUT[9]; /* up to 8bpp */
/* TGA conversion */