From a06dae7b35cfc24f722ea5b4e1b11592d5cb8775 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Mon, 14 Sep 2015 12:05:34 +0200 Subject: Remove unused functions. --- source/fitz/draw-affine.c | 5 ----- source/fitz/unzip.c | 5 ----- 2 files changed, 10 deletions(-) (limited to 'source/fitz') diff --git a/source/fitz/draw-affine.c b/source/fitz/draw-affine.c index 1c6c26d1..d56eea96 100644 --- a/source/fitz/draw-affine.c +++ b/source/fitz/draw-affine.c @@ -3,11 +3,6 @@ typedef unsigned char byte; -static inline float roundup(float x) -{ - return (x < 0) ? floorf(x) : ceilf(x); -} - static inline int lerp(int a, int b, int t) { return a + (((b - a) * t) >> 16); diff --git a/source/fitz/unzip.c b/source/fitz/unzip.c index 355da552..b14705ba 100644 --- a/source/fitz/unzip.c +++ b/source/fitz/unzip.c @@ -31,11 +31,6 @@ struct fz_archive_s struct zip_entry *table; }; -static inline int zip_isdigit(int c) -{ - return c >= '0' && c <= '9'; -} - static inline int zip_toupper(int c) { if (c >= 'a' && c <= 'z') -- cgit v1.2.3