about summary refs log tree commit diff
path: root/posix/regex_internal.h
diff options
context:
space:
mode:
authorUlrich Drepper <drepper@redhat.com>2005-09-23 06:11:29 +0000
committerUlrich Drepper <drepper@redhat.com>2005-09-23 06:11:29 +0000
commit997470b3e151845b067b0a7c865f9ab7177d14c1 (patch)
treec08e477ee770cf2218dd2e0d20f60bf61de600bf /posix/regex_internal.h
parent8f7aee92287b84e9a18d5da1c7027d7067446a90 (diff)
downloadglibc-997470b3e151845b067b0a7c865f9ab7177d14c1.tar.gz
glibc-997470b3e151845b067b0a7c865f9ab7177d14c1.tar.xz
glibc-997470b3e151845b067b0a7c865f9ab7177d14c1.zip
[BZ #281]
	* posix/regex.h: Define RE_TRANSLATE_TYPE as unsigned char *.
	* posix/regcomp.c: Remove unnecessary uses of
	unsigned RE_TRANSLATE_TYPE.
	* posix/regex_internal.h: Likewise.
	* posix/regex_internal.c: Likewise.
	* posix/regexexec.c: Likewise.
	Based on a patch by Stepan Kasal <kasal@ucw.cz>.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h2
1 files changed, 1 insertions, 1 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index debbe0db3b..0096bf7c91 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -345,7 +345,7 @@ struct re_string_t
      the beginning of the input string.  */
   unsigned int tip_context;
   /* The translation passed as a part of an argument of re_compile_pattern.  */
-  unsigned RE_TRANSLATE_TYPE trans;
+  RE_TRANSLATE_TYPE trans;
   /* Copy of re_dfa_t's word_char.  */
   re_const_bitset_ptr_t word_char;
   /* 1 if REG_ICASE.  */