aboutsummaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authoryzrh <yzrh@noema.org>2023-01-01 10:09:08 +0000
committeryzrh <yzrh@noema.org>2023-01-01 10:09:08 +0000
commita18de8f2ef4be4a92b2e08161ce4b8f164ad4f7f (patch)
tree18a51d727418428953331ed980e85f5e10030a01
parent70e1e7ea97e6bb7ac9714f75fcc860fd97f34a45 (diff)
downloadmelon-a18de8f2ef4be4a92b2e08161ce4b8f164ad4f7f.tar.gz
melon-a18de8f2ef4be4a92b2e08161ce4b8f164ad4f7f.tar.zst
Rename JBIG decoder.
Signed-off-by: yzrh <yzrh@noema.org>
-rw-r--r--src/Makefile10
-rw-r--r--src/cnki_jbig.c2
-rw-r--r--src/cnki_jbig_dec.c (renamed from src/jbig.c)0
-rw-r--r--src/cnki_jbig_dec.h (renamed from src/jbig.h)0
4 files changed, 6 insertions, 6 deletions
diff --git a/src/Makefile b/src/Makefile
index 5442ff0..74aff8e 100644
--- a/src/Makefile
+++ b/src/Makefile
@@ -4,12 +4,12 @@
# SPDX-License-Identifier: Apache-2.0
#
-src = melon.c iconv.c zlib.c jbig.c jbig2.c jpeg.c jp2.c \
- cnki_caj.c cnki_hn.c cnki_kdh.c cnki_outline_tree.c \
- cnki_pdf.c cnki_zlib.c cnki_jbig.c cnki_jbig2.c cnki.c \
+src = melon.c iconv.c zlib.c jbig2.c jpeg.c jp2.c \
+ cnki_caj.c cnki_hn.c cnki_kdh.c cnki_outline_tree.c cnki_pdf.c \
+ cnki_zlib.c cnki_jbig.c cnki_jbig_dec.c cnki_jbig2.c cnki.c \
pdf_cnki.c pdf_get.c pdf_parser.c pdf_writer.c pdf.c
-inc = extern.h version.h iconv.h zlib.h jbig.h jbig2.h jpeg.h jp2.h \
- cnki.h pdf_cnki.h cnki_jbig.h pdf.h
+inc = extern.h version.h iconv.h zlib.h jbig2.h jpeg.h jp2.h \
+ cnki.h pdf_cnki.h cnki_jbig.h cnki_jbig_dec.h pdf.h
obj = ${src:.c=.o}
diff --git a/src/cnki_jbig.c b/src/cnki_jbig.c
index f35d1d5..acc43eb 100644
--- a/src/cnki_jbig.c
+++ b/src/cnki_jbig.c
@@ -8,7 +8,7 @@
#include <string.h>
#include "cnki_jbig.h"
-#include "jbig.h"
+#include "cnki_jbig_dec.h"
int
cnki_jbig(char **bitmap, int *bitmap_size,
diff --git a/src/jbig.c b/src/cnki_jbig_dec.c
index 5b262e6..5b262e6 100644
--- a/src/jbig.c
+++ b/src/cnki_jbig_dec.c
diff --git a/src/jbig.h b/src/cnki_jbig_dec.h
index 1919f3e..1919f3e 100644
--- a/src/jbig.h
+++ b/src/cnki_jbig_dec.h