summaryrefslogtreecommitdiffstats
path: root/kernel/kls_ljpeg/ljpeg2ppm/huffd.c
diff options
context:
space:
mode:
authorSlávek Banko <slavek.banko@axis.cz>2024-04-14 21:13:57 +0200
committerSlávek Banko <slavek.banko@axis.cz>2024-04-15 01:53:06 +0200
commit512be3d17b531dd0f86dca60223cd220b735d28e (patch)
tree3a4a5553ad5676db9e9b8cd28b9b353ca80994d2 /kernel/kls_ljpeg/ljpeg2ppm/huffd.c
parenta4981cc4bfcb67d8876e067a890acadbe8729096 (diff)
downloadlibksquirrel-512be3d17b531dd0f86dca60223cd220b735d28e.tar.gz
libksquirrel-512be3d17b531dd0f86dca60223cd220b735d28e.zip
Add missing function prototype.
This relates to issue #17. Signed-off-by: Slávek Banko <slavek.banko@axis.cz>
Diffstat (limited to 'kernel/kls_ljpeg/ljpeg2ppm/huffd.c')
-rw-r--r--kernel/kls_ljpeg/ljpeg2ppm/huffd.c3
1 files changed, 3 insertions, 0 deletions
diff --git a/kernel/kls_ljpeg/ljpeg2ppm/huffd.c b/kernel/kls_ljpeg/ljpeg2ppm/huffd.c
index ea3480c..d5f96a7 100644
--- a/kernel/kls_ljpeg/ljpeg2ppm/huffd.c
+++ b/kernel/kls_ljpeg/ljpeg2ppm/huffd.c
@@ -48,6 +48,9 @@
#define RST0 0xD0 /* RST0 marker code */
+/* defined in util.c */
+void FixHuffTbl(HuffmanTable *);
+
static long getBuffer; /* current bit-extraction buffer */
static int bitsLeft; /* # of unused bits in it */