summaryrefslogtreecommitdiff
path: root/libc/misc
diff options
context:
space:
mode:
authorBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-19 19:45:45 +0000
committerBernhard Reutner-Fischer <rep.dot.nop@gmail.com>2008-09-19 19:45:45 +0000
commitaf64d37942aaa41bb44f07f39c314b0cba2ae79a (patch)
treed4fdf4e9167752a731e0c7a6dcbf98475c655264 /libc/misc
parent71c10cea5a832d2412a551c849bd5655e65e1c22 (diff)
- fix for r23427. Thanks to psm for mentioning this and sorry for the breakage
Diffstat (limited to 'libc/misc')
-rw-r--r--libc/misc/regex/regex_old.c14
1 files changed, 7 insertions, 7 deletions
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index 8bc4090ab..a8a8cc79a 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -1198,8 +1198,8 @@ void
PREFIX(print_double_string) (
const CHAR_T *where,
const CHAR_T *string1,
- const CHAR_T *string2,
int size1,
+ const CHAR_T *string2,
int size2)
{
int this_char;
@@ -4472,9 +4472,9 @@ static reg_errcode_t
wcs_compile_range (
CHAR_T range_start_char,
const CHAR_T **p_ptr, const CHAR_T *pend,
- CHAR_T *char_set, CHAR_T *b,
RE_TRANSLATE_TYPE translate,
- reg_syntax_t syntax)
+ reg_syntax_t syntax,
+ CHAR_T *b, CHAR_T *char_set)
{
const CHAR_T *p = *p_ptr;
CHAR_T range_start, range_end;
@@ -5666,17 +5666,17 @@ count_mbs_length(
static int
wcs_re_match_2_internal (
struct re_pattern_buffer *bufp,
- const char *cstring1, const char *cstring2,
- int csize1, int csize2,
+ const char *cstring1, int csize1,
+ const char *cstring2, int csize2,
int pos,
struct re_registers *regs,
int stop,
/* string1 == string2 == NULL means string1/2, size1/2 and
mbs_offset1/2 need seting up in this function. */
/* We need wchar_t* buffers correspond to cstring1, cstring2. */
- wchar_t *string1, wchar_t *string2,
/* We need the size of wchar_t buffers correspond to csize1, csize2. */
- int size1, int size2,
+ wchar_t *string1, int size1,
+ wchar_t *string2, int size2,
/* offset buffer for optimization. See convert_mbs_to_wc. */
int *mbs_offset1, int *mbs_offset2)
#else /* BYTE */