summaryrefslogtreecommitdiff
path: root/libopenjpeg/t2.c
diff options
context:
space:
mode:
authorFreeimage <freeimage@aliceadsl.fr>2006-01-31 21:26:11 +0000
committerFreeimage <freeimage@aliceadsl.fr>2006-01-31 21:26:11 +0000
commit355b88c15d2dcafe4074b725e2165511df02f2dd (patch)
treea02e55bae93e0403ab99c168dd1a2f34d8894e00 /libopenjpeg/t2.c
parent74c1b3637e922cac859dbda5cfefee4dc4f365e1 (diff)
fixed various minor warnings occuring under icc9 and bcc32, added MSVC project and compiler directives to build a 'standard' WIN32 DLL
Diffstat (limited to 'libopenjpeg/t2.c')
-rw-r--r--libopenjpeg/t2.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/libopenjpeg/t2.c b/libopenjpeg/t2.c
index dda0efca..43e1fe24 100644
--- a/libopenjpeg/t2.c
+++ b/libopenjpeg/t2.c
@@ -73,7 +73,7 @@ Decode a packet of a tile from a source buffer
@param pi Packet identity
@return
*/
-int t2_decode_packet(opj_t2_t* t2, unsigned char *src, int len, opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi);
+static int t2_decode_packet(opj_t2_t* t2, unsigned char *src, int len, opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi);
/*@}*/
@@ -308,7 +308,7 @@ static void t2_init_seg(opj_tcd_seg_t * seg, int cblksty, int first) {
}
}
-int t2_decode_packet(opj_t2_t* t2, unsigned char *src, int len, opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi) {
+static int t2_decode_packet(opj_t2_t* t2, unsigned char *src, int len, opj_tcd_tile_t *tile, opj_tcp_t *tcp, opj_pi_iterator_t *pi) {
int bandno, cblkno;
unsigned char *c = src;