summaryrefslogtreecommitdiffstats
path: root/libc/misc/regex/regex_old.c
diff options
context:
space:
mode:
author"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 15:10:57 +0000
committer"Steven J. Hill" <sjhill@realitydiluted.com>2005-12-10 15:10:57 +0000
commit7fe677c6d31a6fd854eaf64609d72b8613ca36ea (patch)
tree4c65df7c08e0730d0686b169545be93177080810 /libc/misc/regex/regex_old.c
parenteb853014235c86b33318f16e205ff2f818e5a67c (diff)
downloaduClibc-alpine-7fe677c6d31a6fd854eaf64609d72b8613ca36ea.tar.bz2
uClibc-alpine-7fe677c6d31a6fd854eaf64609d72b8613ca36ea.tar.xz
Merge from trunk.
Diffstat (limited to 'libc/misc/regex/regex_old.c')
-rw-r--r--libc/misc/regex/regex_old.c6
1 files changed, 4 insertions, 2 deletions
diff --git a/libc/misc/regex/regex_old.c b/libc/misc/regex/regex_old.c
index 1f9d37780..6bb319acd 100644
--- a/libc/misc/regex/regex_old.c
+++ b/libc/misc/regex/regex_old.c
@@ -31,8 +31,10 @@
#define mbrtowc __mbrtowc
#define wcrtomb __wcrtomb
#define wcscoll __wcscoll
+#define wctype __wctype
#define iswctype __iswctype
#define iswalnum __iswalnum
+#define printf __printf
/* To exclude some unwanted junk.... */
#undef _LIBC
@@ -5166,7 +5168,7 @@ PREFIX(re_search_2) (bufp, string1, size1, string2, size2, startpos, range,
wchar_t *wcs_string1 = NULL, *wcs_string2 = NULL;
/* We need the size of wchar_t buffers correspond to csize1, csize2. */
int wcs_size1 = 0, wcs_size2 = 0;
- /* offset buffer for optimizatoin. See convert_mbs_to_wc. */
+ /* offset buffer for optimization. See convert_mbs_to_wc. */
int *mbs_offset1 = NULL, *mbs_offset2 = NULL;
/* They hold whether each wchar_t is binary data or not. */
char *is_binary = NULL;
@@ -5696,7 +5698,7 @@ wcs_re_match_2_internal (bufp, cstring1, csize1, cstring2, csize2, pos,
wchar_t *string1, *string2;
/* We need the size of wchar_t buffers correspond to csize1, csize2. */
int size1, size2;
- /* offset buffer for optimizatoin. See convert_mbs_to_wc. */
+ /* offset buffer for optimization. See convert_mbs_to_wc. */
int *mbs_offset1, *mbs_offset2;
#else /* BYTE */
static int