projects
/
rocksndiamonds.git
/ blobdiff
commit
grep
author
committer
pickaxe
?
search:
re
summary
|
shortlog
|
log
|
commit
|
commitdiff
|
tree
raw
|
inline
| side by side
changed function name
[rocksndiamonds.git]
/
src
/
libgame
/
setup.c
diff --git
a/src/libgame/setup.c
b/src/libgame/setup.c
index 9ea1754932adb1371c9d994aca8e8af497411e3a..d81cb8b55bdf6e66d1087b13c1c538caa9d75ad9 100644
(file)
--- a/
src/libgame/setup.c
+++ b/
src/libgame/setup.c
@@
-2075,7
+2075,7
@@
unsigned int get_hash_from_key(void *key)
return hash;
}
return hash;
}
-
static int
keys_are_equal(void *key1, void *key2)
+
int hash_
keys_are_equal(void *key1, void *key2)
{
return (strEqual((char *)key1, (char *)key2));
}
{
return (strEqual((char *)key1, (char *)key2));
}
@@
-2083,7
+2083,7
@@
static int keys_are_equal(void *key1, void *key2)
SetupFileHash *newSetupFileHash(void)
{
SetupFileHash *new_hash =
SetupFileHash *newSetupFileHash(void)
{
SetupFileHash *new_hash =
- create_hashtable(16, 0.75, get_hash_from_key, keys_are_equal);
+ create_hashtable(16, 0.75, get_hash_from_key,
hash_
keys_are_equal);
if (new_hash == NULL)
Fail("create_hashtable() failed -- out of memory");
if (new_hash == NULL)
Fail("create_hashtable() failed -- out of memory");