diff options
| author | Yukihiro Matsumoto <[email protected]> | 2012-05-23 03:31:55 +0900 |
|---|---|---|
| committer | Yukihiro Matsumoto <[email protected]> | 2012-05-23 03:31:55 +0900 |
| commit | 4523bee95357bed945a58462544441371160056f (patch) | |
| tree | fc7fecb95769eee94f1596b13eb58472281ec656 /src/st.c | |
| parent | 714b358bb22c99bf653e21f4f9f6e22e24134b28 (diff) | |
| download | mruby-4523bee95357bed945a58462544441371160056f.tar.gz mruby-4523bee95357bed945a58462544441371160056f.zip | |
cast style consistency
Diffstat (limited to 'src/st.c')
| -rw-r--r-- | src/st.c | 6 |
1 files changed, 3 insertions, 3 deletions
@@ -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; /* |
