summaryrefslogtreecommitdiff
path: root/fitz/filt_faxd.c
diff options
context:
space:
mode:
authorTor Andersson <tor@ghostscript.com>2011-02-02 12:01:57 +0000
committerTor Andersson <tor@ghostscript.com>2011-02-02 12:01:57 +0000
commitc2da983137c7b0d9eadfab5705e7cc1bc90f7ca1 (patch)
tree25db39bc1f81a839794400f47ad587540247b9e6 /fitz/filt_faxd.c
parent77004fc96a2b2c429853d8be91aa8ac3e71e156f (diff)
downloadmupdf-c2da983137c7b0d9eadfab5705e7cc1bc90f7ca1.tar.xz
Remove pdf_token_e typedef since the list of tokens is extended by individual parsers, resulting in compiler warnings.
Diffstat (limited to 'fitz/filt_faxd.c')
-rw-r--r--fitz/filt_faxd.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/fitz/filt_faxd.c b/fitz/filt_faxd.c
index b1cd3b30..5da826ae 100644
--- a/fitz/filt_faxd.c
+++ b/fitz/filt_faxd.c
@@ -276,14 +276,14 @@ setbits(unsigned char *line, int x0, int x1)
typedef struct fz_faxd_s fz_faxd;
-typedef enum fax_stage_e
+enum
{
SNORMAL, /* neutral state, waiting for any code */
SMAKEUP, /* got a 1d makeup code, waiting for terminating code */
SEOL, /* at eol, needs output buffer space */
SH1, SH2, /* in H part 1 and 2 (both makeup and terminating codes) */
SDONE /* all done */
-} fax_stage_e;
+};
struct fz_faxd_s
{
@@ -303,7 +303,7 @@ struct fz_faxd_s
int bidx;
unsigned int word;
- fax_stage_e stage;
+ int stage;
int a, c, dim, eolc;
unsigned char *ref;