diff options
| author | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-10-15 07:31:05 +0000 |
|---|---|---|
| committer | Mathieu Malaterre <mathieu.malaterre@gmail.com> | 2012-10-15 07:31:05 +0000 |
| commit | fe3c1f9061978a9d594c4b102cc91180261b8225 (patch) | |
| tree | e3be7e980c7d092d87a60dafe108ec810bbac5cd /src | |
| parent | e30818ce39fecd0f9e800b77652f570d7dbbea40 (diff) | |
[trunk] Fix warning for no previous prototype by using static function
Diffstat (limited to 'src')
| -rw-r--r-- | src/lib/openjp2/jpt.c | 4 | ||||
| -rw-r--r-- | src/lib/openjp2/t1_generate_luts.c | 2 |
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) { |
