summaryrefslogtreecommitdiffhomepage
path: root/src/st.c
diff options
context:
space:
mode:
authorYukihiro Matsumoto <[email protected]>2012-05-23 03:31:55 +0900
committerYukihiro Matsumoto <[email protected]>2012-05-23 03:31:55 +0900
commit4523bee95357bed945a58462544441371160056f (patch)
treefc7fecb95769eee94f1596b13eb58472281ec656 /src/st.c
parent714b358bb22c99bf653e21f4f9f6e22e24134b28 (diff)
downloadmruby-4523bee95357bed945a58462544441371160056f.tar.gz
mruby-4523bee95357bed945a58462544441371160056f.zip
cast style consistency
Diffstat (limited to 'src/st.c')
-rw-r--r--src/st.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/src/st.c b/src/st.c
index c0597395d..257da7e2b 100644
--- a/src/st.c
+++ b/src/st.c
@@ -29,7 +29,7 @@ static struct st_hash_type type_numhash = {
};
/* extern int strcmp(const char *, const char *); */
-static st_index_t strhash(const char *);
+static st_index_t strhash(const char*);
static struct st_hash_type type_strhash = {
strcmp,
strhash,
@@ -41,7 +41,7 @@ static const struct st_hash_type type_strcasehash = {
strcasehash,
};
-static void rehash(st_table *);
+static void rehash(st_table*);
#ifdef RUBY
#define malloc xmalloc
@@ -542,7 +542,7 @@ st_strncasecmp(const char *s1, const char *s2, size_t n)
static st_index_t
strcasehash(st_data_t arg)
{
- register const char *string = (const char *)arg;
+ register const char *string = (const char*)arg;
register st_index_t hval = FNV1_32A_INIT;
/*