summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
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 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;