summaryrefslogtreecommitdiff
path: root/st.c
diff options
context:
space:
mode:
Diffstat (limited to 'st.c')
-rw-r--r--st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/st.c b/st.c
index d9e8be4970..1cc0e2f4d7 100644
--- a/st.c
+++ b/st.c
@@ -43,8 +43,8 @@ static struct st_hash_type type_numhash = {
/* extern int strcmp(const char *, const char *); */
static int strhash(const char *);
static struct st_hash_type type_strhash = {
- (st_compare_func_t)strcmp,
- (st_hash_func_t)strhash,
+ strcmp,
+ strhash,
};
#ifdef RUBY_PLATFORM
@@ -482,7 +482,7 @@ st_cleanup_safe(table, never)
void
st_foreach(table, func, arg)
st_table *table;
- st_each_func_t func;
+ int (*func)();
st_data_t arg;
{
st_table_entry *ptr, *last, *tmp;