From 2499da40f9a899969532998d0df1d4fe4ea5ab26 Mon Sep 17 00:00:00 2001 From: ksaito Date: Wed, 23 Feb 2005 13:10:45 +0000 Subject: * st.c, st.h: imported additional file changes on Oniguruma 3.7.0. git-svn-id: svn+ssh://ci.ruby-lang.org/ruby/trunk@8027 b2dd03c8-39d4-4d8f-98ff-823fe69b080e --- st.c | 12 ++++++------ 1 file changed, 6 insertions(+), 6 deletions(-) (limited to 'st.c') diff --git a/st.c b/st.c index 5bce4ff836..65c2cc58bd 100644 --- a/st.c +++ b/st.c @@ -300,8 +300,8 @@ st_lookup(table, key, value) int st_lookup_strend(table, str_key, end_key, value) st_table *table; - unsigned char* str_key; - unsigned char* end_key; + const unsigned char* str_key; + const unsigned char* end_key; st_data_t *value; { st_strend_key key; @@ -355,8 +355,8 @@ st_insert(table, key, value) int st_insert_strend(table, str_key, end_key, value) st_table *table; - unsigned char* str_key; - unsigned char* end_key; + const unsigned char* str_key; + const unsigned char* end_key; st_data_t value; { st_strend_key* key; @@ -384,8 +384,8 @@ st_add_direct(table, key, value) void st_add_direct_strend(table, str_key, end_key, value) st_table *table; - unsigned char* str_key; - unsigned char* end_key; + const unsigned char* str_key; + const unsigned char* end_key; st_data_t value; { st_strend_key* key; -- cgit v1.2.3