summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
authorksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-23 13:10:45 +0000
committerksaito <ksaito@b2dd03c8-39d4-4d8f-98ff-823fe69b080e>2005-02-23 13:10:45 +0000
commit2499da40f9a899969532998d0df1d4fe4ea5ab26 (patch)
treea2d2b75e942b78c711a7fe46f82e8db01ab97e75 /st.c
parentbe587c77ef27f30112bb64459f1da83c0ad1deaa (diff)
* 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
Diffstat (limited to 'st.c')
-rw-r--r--st.c12
1 files changed, 6 insertions, 6 deletions
diff --git a/st.c b/st.c
index 5bce4ff..65c2cc5 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;