From c2da983137c7b0d9eadfab5705e7cc1bc90f7ca1 Mon Sep 17 00:00:00 2001 From: Tor Andersson Date: Wed, 2 Feb 2011 12:01:57 +0000 Subject: Remove pdf_token_e typedef since the list of tokens is extended by individual parsers, resulting in compiler warnings. --- fitz/filt_faxd.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'fitz/filt_faxd.c') 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; -- cgit v1.2.3