summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--src/lib/openjp2/jpt.c4
-rw-r--r--src/lib/openjp2/t1_generate_luts.c2
2 files changed, 3 insertions, 3 deletions
diff --git a/src/lib/openjp2/jpt.c b/src/lib/openjp2/jpt.c
index a2566ea8..89b7565e 100644
--- a/src/lib/openjp2/jpt.c
+++ b/src/lib/openjp2/jpt.c
@@ -34,7 +34,7 @@
* Store information (7 bits) in value
*
*/
-unsigned int jpt_read_VBAS_info(opj_cio_t *cio, unsigned int value) {
+static unsigned int jpt_read_VBAS_info(opj_cio_t *cio, unsigned int value) {
unsigned char elmt;
elmt = cio_read(cio, 1);
@@ -69,7 +69,7 @@ void jpt_init_msg_header(opj_jpt_msg_header_t * header) {
* Only parameters always present in message header
*
*/
-void jpt_reinit_msg_header(opj_jpt_msg_header_t * header) {
+static void jpt_reinit_msg_header(opj_jpt_msg_header_t * header) {
header->Id = 0; /* In-class Identifier */
header->last_byte = 0; /* Last byte information */
header->Msg_offset = 0; /* Message offset */
diff --git a/src/lib/openjp2/t1_generate_luts.c b/src/lib/openjp2/t1_generate_luts.c
index 65b0e4f0..d1843248 100644
--- a/src/lib/openjp2/t1_generate_luts.c
+++ b/src/lib/openjp2/t1_generate_luts.c
@@ -170,7 +170,7 @@ static int t1_init_spb(int f) {
return n;
}
-void dump_array16(int array[],int size){
+static void dump_array16(int array[],int size){
int i;
--size;
for (i = 0; i < size; ++i) {