diff --git a/libs/spandsp/src/t43.c b/libs/spandsp/src/t43.c index a22b8cf50f..13b19a146f 100644 --- a/libs/spandsp/src/t43.c +++ b/libs/spandsp/src/t43.c @@ -110,6 +110,7 @@ static __inline__ uint32_t pack_32(const uint8_t *s) } /*- End of function --------------------------------------------------------*/ +#if 0 static __inline__ int unpack_16(uint8_t *s, uint16_t value) { s[0] = (value >> 8) & 0xFF; @@ -118,7 +119,6 @@ static __inline__ int unpack_16(uint8_t *s, uint16_t value) } /*- End of function --------------------------------------------------------*/ -#if 0 static __inline__ int unpack_32(uint8_t *s, uint32_t value) { s[0] = (value >> 24) & 0xFF; diff --git a/libs/spandsp/src/t4_tx.c b/libs/spandsp/src/t4_tx.c index ccad8db9d8..43138e5073 100644 --- a/libs/spandsp/src/t4_tx.c +++ b/libs/spandsp/src/t4_tx.c @@ -300,6 +300,7 @@ static int match_resolution(float actual, const float table[]) } /*- End of function --------------------------------------------------------*/ +#if 0 static int best_colour_resolution(float actual, int allowed_resolutions) { static const struct @@ -343,6 +344,7 @@ static int best_colour_resolution(float actual, int allowed_resolutions) return x_res_table[best_entry].resolution_code; } /*- End of function --------------------------------------------------------*/ +#endif #if defined(SPANDSP_SUPPORT_TIFF_FX) static int read_colour_map(t4_tx_state_t *s, int bits_per_sample) @@ -949,6 +951,7 @@ static int read_tiff_t85_image(t4_tx_state_t *s) } /*- End of function --------------------------------------------------------*/ +#if defined(SPANDSP_SUPPORT_T43) static int read_tiff_t43_image(t4_tx_state_t *s) { int biggest; @@ -1026,6 +1029,7 @@ static int read_tiff_t43_image(t4_tx_state_t *s) return s->tiff.image_size; } /*- End of function --------------------------------------------------------*/ +#endif static int read_tiff_t42_t81_image(t4_tx_state_t *s) {