Mercurial > hg > xemacs-beta
diff src/file-coding.c @ 438:84b14dcb0985 r21-2-27
Import from CVS: tag r21-2-27
author | cvs |
---|---|
date | Mon, 13 Aug 2007 11:32:25 +0200 |
parents | 3a7e78e1142d |
children | 8de8e3f6228a |
line wrap: on
line diff
--- a/src/file-coding.c Mon Aug 13 11:31:26 2007 +0200 +++ b/src/file-coding.c Mon Aug 13 11:32:25 2007 +0200 @@ -424,7 +424,7 @@ } } -static enum eol_type +static eol_type_t symbol_to_eol_type (Lisp_Object symbol) { CHECK_SYMBOL (symbol); @@ -438,7 +438,7 @@ } static Lisp_Object -eol_type_to_symbol (enum eol_type type) +eol_type_to_symbol (eol_type_t type) { switch (type) { @@ -1059,7 +1059,7 @@ } static Lisp_Object -subsidiary_coding_system (Lisp_Object coding_system, enum eol_type type) +subsidiary_coding_system (Lisp_Object coding_system, eol_type_t type) { Lisp_Coding_System *cs = XCODING_SYSTEM (coding_system); Lisp_Object new_coding_system; @@ -1400,7 +1400,7 @@ struct detection_state { - enum eol_type eol_type; + eol_type_t eol_type; int seen_non_ascii; int mask; #ifdef MULE @@ -1481,7 +1481,7 @@ return (mask & (mask - 1)) == 0; } -static enum eol_type +static eol_type_t detect_eol_type (struct detection_state *st, CONST unsigned char *src, unsigned int n) { @@ -1643,7 +1643,7 @@ void determine_real_coding_system (Lstream *stream, Lisp_Object *codesys_in_out, - enum eol_type *eol_type_in_out) + eol_type_t *eol_type_in_out) { struct detection_state decst; @@ -1946,7 +1946,7 @@ EOL type stored in CODESYS because the latter might indicate automatic EOL-type detection while the former will always indicate a particular EOL type. */ - enum eol_type eol_type; + eol_type_t eol_type; #ifdef MULE /* Additional ISO2022 information. We define the structure above because it's also needed by the detection routines. */