summaryrefslogtreecommitdiff
path: root/src/regex.c
diff options
context:
space:
mode:
authorJuanma Barranquero <lekktu@gmail.com>2010-07-04 13:51:28 +0200
committerJuanma Barranquero <lekktu@gmail.com>2010-07-04 13:51:28 +0200
commit170a9ec19cd431b55bd326bf0d1f7650fa1aa7c2 (patch)
tree61829ecf104c79b4d99b26bdc264ff8ef4749be2 /src/regex.c
parent5cf7027a6cd263a32404f679a51d12147d0fd363 (diff)
downloademacs-170a9ec19cd431b55bd326bf0d1f7650fa1aa7c2.tar.gz
Fix prototypes.
* dired.c (file_name_completion_stat): Use DIRENTRY, not struct dirent. * fileio.c (read_non_regular, read_non_regular_quit): Pass Lisp_Object, as required by internal_condition_case_1. * regex.c (bcmp_translate): Use RE_TRANSLATE_TYPE, not Lisp_Object. (analyse_first): Fix "const const".
Diffstat (limited to 'src/regex.c')
-rw-r--r--src/regex.c5
1 files changed, 3 insertions, 2 deletions
diff --git a/src/regex.c b/src/regex.c
index 67efee37d82..10ab857b00a 100644
--- a/src/regex.c
+++ b/src/regex.c
@@ -3984,7 +3984,7 @@ group_in_compile_stack (compile_stack_type compile_stack, regnum_t regnum)
Return -1 if fastmap was not updated accurately. */
static int
-analyse_first (const re_char *p, const re_char *pend, char *fastmap, const const int multibyte)
+analyse_first (const re_char *p, const re_char *pend, char *fastmap, const int multibyte)
{
int j, k;
boolean not;
@@ -6385,7 +6385,8 @@ re_match_2_internal (struct re_pattern_buffer *bufp, const re_char *string1, int
bytes; nonzero otherwise. */
static int
-bcmp_translate (const re_char *s1, const re_char *s2, register int len, Lisp_Object translate, const const int target_multibyte)
+bcmp_translate (const re_char *s1, const re_char *s2, register int len,
+ RE_TRANSLATE_TYPE translate, const int target_multibyte)
{
register re_char *p1 = s1, *p2 = s2;
re_char *p1_end = s1 + len;