Mercurial > emacs
changeset 89544:36913565de8a
(syms_of_charset): Remove unused var p.
(find_charsets_in_text, Ffind_charset_region): Use EMACS_INT for
byte/char counts.
author | Dave Love <fx@gnu.org> |
---|---|
date | Mon, 29 Sep 2003 17:58:09 +0000 |
parents | a280c29e9b8d |
children | 4f394eed6ff2 |
files | src/charset.c |
diffstat | 1 files changed, 3 insertions(+), 6 deletions(-) [+] |
line wrap: on
line diff
--- a/src/charset.c Mon Sep 29 17:55:29 2003 +0000 +++ b/src/charset.c Mon Sep 29 17:58:09 2003 +0000 @@ -1375,7 +1375,7 @@ static void find_charsets_in_text (ptr, nchars, nbytes, charsets, table) const unsigned char *ptr; - int nchars, nbytes; + EMACS_INT nchars, nbytes; Lisp_Object charsets, table; { const unsigned char *pend = ptr + nbytes; @@ -1424,7 +1424,8 @@ Lisp_Object beg, end, table; { Lisp_Object charsets; - int from, from_byte, to, stop, stop_byte, i; + EMACS_INT from, from_byte, to, stop, stop_byte; + int i; Lisp_Object val; validate_region (&beg, &end); @@ -2073,8 +2074,6 @@ void syms_of_charset () { - char *p; - DEFSYM (Qcharsetp, "charsetp"); DEFSYM (Qascii, "ascii"); @@ -2085,8 +2084,6 @@ DEFSYM (Qgl, "gl"); DEFSYM (Qgr, "gr"); - p = (char *) xmalloc (30000); - staticpro (&Vcharset_ordered_list); Vcharset_ordered_list = Qnil;