summaryrefslogtreecommitdiff
path: root/src/lib/openjp2/t2.c
diff options
context:
space:
mode:
authorStephan Mühlstrasser <stm@pdflib.com>2015-10-19 12:14:01 +0200
committerStephan Mühlstrasser <stm@pdflib.com>2015-10-19 12:14:27 +0200
commita1fc83cc255ff7697d6ca68ea4e1c42710771756 (patch)
treee1ac29db8a008e415f2078469b335d4f35579462 /src/lib/openjp2/t2.c
parent4831badeb4ae06f5be0974ce2da855889833736e (diff)
Fix HP compiler warning about redeclaration of function (#640)
HP compiler warns: cc: "dwt.c", line 798: warning 562: Redeclaration of "opj_v4dwt_decode" with a different storage class specifier: "opj_v4dwt_decode" will have internal linkage. cc: "t2.c", line 1341: warning 562: Redeclaration of "opj_t2_init_seg" with a different storage class specifier: "opj_t2_init_seg" will have internal linkage.
Diffstat (limited to 'src/lib/openjp2/t2.c')
-rw-r--r--src/lib/openjp2/t2.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/src/lib/openjp2/t2.c b/src/lib/openjp2/t2.c
index 5af1a69a..ebc26b2d 100644
--- a/src/lib/openjp2/t2.c
+++ b/src/lib/openjp2/t2.c
@@ -1338,7 +1338,7 @@ static OPJ_BOOL opj_t2_skip_packet_data( opj_t2_t* p_t2,
}
-OPJ_BOOL opj_t2_init_seg( opj_tcd_cblk_dec_t* cblk,
+static OPJ_BOOL opj_t2_init_seg( opj_tcd_cblk_dec_t* cblk,
OPJ_UINT32 index,
OPJ_UINT32 cblksty,
OPJ_UINT32 first)