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-07 16:15:23 +0000
committerUlrich Drepper <drepper@redhat.com>2005-09-07 16:15:23 +0000
commit76b864c8e021f5dd4c912d2352267a0049f7699f (patch)
treefe028e38c06d12bbc65eea5539f74a0f03e2acf2 /posix/regex_internal.h
parent6efbd82c5c819e32dbe9993f9a24008be6bcdf0a (diff)
downloadglibc-76b864c8e021f5dd4c912d2352267a0049f7699f.tar.gz
glibc-76b864c8e021f5dd4c912d2352267a0049f7699f.tar.xz
glibc-76b864c8e021f5dd4c912d2352267a0049f7699f.zip
(update_cur_sifted_state): Likewise.
	(re_search_internal): Likewise.
	(prune_impossible_nodes): Likewise.
	(acquire_init_state_context): Likewise.
	(proceed_next_node): Likewise.
	(set_regs): Likewise.
	(free_fail_stack_return): Likewise.
	(check_subexp_limits): Likewise.
	(sub_epsilon_src_nodes):  Likewise.
	(add_epsilon_src_nodes):  Likewise.
	(merge_state_array): Likewise.
	(update_regs): Likewise.
	(build_trtable): Likewise.
	(sift_states_backward): Mark MCTX parameter as const.
	(build_sifted_states): Likewise.
	(update_cur_sifted_state): Likewise.
	(sift_states_mkref): Likewise.
	(check_dst_limits_calc_pos_1): Likewise.
	* posix/regex_internal.h (re_match_context_t): Make dfa a const
	pointer.
Diffstat (limited to 'posix/regex_internal.h')
-rw-r--r--posix/regex_internal.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/posix/regex_internal.h b/posix/regex_internal.h
index 4d6a7a8be2..debbe0db3b 100644
--- a/posix/regex_internal.h
+++ b/posix/regex_internal.h
@@ -576,9 +576,9 @@ typedef struct
   /* The string object corresponding to the input string.  */
   re_string_t input;
 #if defined _LIBC || (defined __STDC_VERSION__ && __STDC_VERSION__ >= 199901L)
-  re_dfa_t *const dfa;
+  const re_dfa_t *const dfa;
 #else
-  re_dfa_t *dfa;
+  const re_dfa_t *dfa;
 #endif
   /* EFLAGS of the argument of regexec.  */
   int eflags;