shithub: jbig2

Download patch

ref: b108cbcfc9a2c7d10e70bd2bdc3a3a938ea3adb7
parent: 47bd82353ae27eb2c53e7253c39b70ef2e147ab2
author: Ralph Giles <giles@ghostscript.com>
date: Wed Oct 28 08:19:57 EDT 2009

Add prototypes for the publicly referenced halftone functions.

Corrects a missing prototype warning.

--- a/jbig2_priv.h
+++ b/jbig2_priv.h
@@ -153,6 +153,12 @@
 int jbig2_refinement_region(Jbig2Ctx *ctx, Jbig2Segment *segment,
                                const byte *segment_data);
 
+int jbig2_pattern_dictionary(Jbig2Ctx *ctx, Jbig2Segment *segment,
+                               const byte *segment_data);
+int jbig2_halftone_region(Jbig2Ctx *ctx, Jbig2Segment *segment,
+                               const byte *segment_data);
+
+
 /* The word stream design is a compromise between simplicity and
    trying to amortize the number of method calls. Each ::get_next_word
    invocation pulls 4 bytes from the stream, packed big-endian into a