From: Stefan Monnier Date: Tue, 4 Oct 2005 04:31:08 +0000 (+0000) Subject: (re_char): Move it back to the implementation file. X-Git-Tag: emacs-pretest-22.0.90~6836 X-Git-Url: http://git.eshelyaron.com/gitweb/?a=commitdiff_plain;h=6470ea05f949a6363561e8ac934e7b7a66498825;p=emacs.git (re_char): Move it back to the implementation file. (re_set_whitespace_regexp): Change the arg's type to not use it. --- diff --git a/src/regex.c b/src/regex.c index c765f4bd16b..4f2683adfb9 100644 --- a/src/regex.c +++ b/src/regex.c @@ -524,6 +524,9 @@ init_syntax_once () #define MAX(a, b) ((a) > (b) ? (a) : (b)) #define MIN(a, b) ((a) < (b) ? (a) : (b)) +/* Type of source-pattern and string chars. */ +typedef const unsigned char re_char; + typedef char boolean; #define false 0 #define true 1 @@ -1262,9 +1265,9 @@ static re_char *whitespace_regexp; void re_set_whitespace_regexp (regexp) - re_char *regexp; + const char *regexp; { - whitespace_regexp = regexp; + whitespace_regexp = (re_char *) regexp; } WEAK_ALIAS (__re_set_syntax, re_set_syntax)