diff options
Diffstat (limited to 'fitz')
-rw-r--r-- | fitz/base_memory.c | 1 | ||||
-rw-r--r-- | fitz/filt_predict.c | 1 | ||||
-rw-r--r-- | fitz/fitz.h | 2 | ||||
-rw-r--r-- | fitz/memento.c | 7 |
4 files changed, 3 insertions, 8 deletions
diff --git a/fitz/base_memory.c b/fitz/base_memory.c index 776bdce6..bae83cbd 100644 --- a/fitz/base_memory.c +++ b/fitz/base_memory.c @@ -226,4 +226,3 @@ fz_alloc_context fz_alloc_default = fz_realloc_default, fz_free_default }; - diff --git a/fitz/filt_predict.c b/fitz/filt_predict.c index 45baf86b..8221c251 100644 --- a/fitz/filt_predict.c +++ b/fitz/filt_predict.c @@ -35,7 +35,6 @@ static inline int getcomponent(unsigned char *line, int x, int bpc) return 0; } - static inline void putcomponent(unsigned char *buf, int x, int bpc, int value) { switch (bpc) diff --git a/fitz/fitz.h b/fitz/fitz.h index 9628e505..d22c6661 100644 --- a/fitz/fitz.h +++ b/fitz/fitz.h @@ -1450,7 +1450,6 @@ void fz_free_display_list(fz_context *ctx, fz_display_list *list); fz_device *fz_new_list_device(fz_context *ctx, fz_display_list *list); void fz_execute_display_list(fz_display_list *list, fz_device *dev, fz_matrix ctm, fz_bbox area, fz_cookie *cookie); - /* * Plotting functions. */ @@ -1568,7 +1567,6 @@ struct fz_link_dest_s ld; }; - struct fz_link_s { fz_rect rect; diff --git a/fitz/memento.c b/fitz/memento.c index 85185b51..293c74e9 100644 --- a/fitz/memento.c +++ b/fitz/memento.c @@ -137,7 +137,6 @@ static struct { size_t numReallocs; } globals; - #define MEMENTO_EXTRASIZE (sizeof(Memento_BlkHeader) + Memento_PostSize) /* Round up size S to the next multiple of N (where N is a power of 2) */ @@ -714,7 +713,7 @@ static int squeeze(void) return 1; if (globals.squeezing && globals.patternBit >= MEMENTO_MAXPATTERN) return 1; - + if (globals.patternBit == 0) globals.squeezeAt = globals.sequence; @@ -757,7 +756,7 @@ static int squeeze(void) if (status != 0) { fprintf(stderr, "Child status=%d\n", status); } - + /* Put the files back */ for (i = 0; i < OPEN_MAX; i++) { if (stashed_map[i] != 0) { @@ -784,7 +783,7 @@ static void Memento_signal(void) else Memento_fin(); } - + int squeeze(void) { fprintf(stderr, "Memento memory squeezing disabled as no fork!\n"); |