diff options
author | Haru <haru@dotalux.com> | 2014-01-12 19:02:37 +0100 |
---|---|---|
committer | Haru <haru@dotalux.com> | 2014-01-12 19:08:40 +0100 |
commit | cd1d0867a006f6a6eb4330142ad3006d37e20684 (patch) | |
tree | f84f6840a4170fe606af5af6e30ed62a3a3225a4 /src/common/db.h | |
parent | fbd5113e258bd511f948d3d583845d89ac8ec216 (diff) | |
download | hercules-cd1d0867a006f6a6eb4330142ad3006d37e20684.tar.gz hercules-cd1d0867a006f6a6eb4330142ad3006d37e20684.tar.bz2 hercules-cd1d0867a006f6a6eb4330142ad3006d37e20684.tar.xz hercules-cd1d0867a006f6a6eb4330142ad3006d37e20684.zip |
Changed some void* to the correct data types where applicable
Signed-off-by: Haru <haru@dotalux.com>
Diffstat (limited to 'src/common/db.h')
-rw-r--r-- | src/common/db.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/src/common/db.h b/src/common/db.h index 9d7bdda10..c00489b93 100644 --- a/src/common/db.h +++ b/src/common/db.h @@ -928,8 +928,8 @@ struct linkdb_node { typedef void (*LinkDBFunc)(void* key, void* data, va_list args); -void linkdb_insert (struct linkdb_node** head, void *key, void* data); // 重複を考慮しない -void linkdb_replace (struct linkdb_node** head, void *key, void* data); // 重複を考慮する +void linkdb_insert (struct linkdb_node** head, void *key, void* data); // Doesn't take into account duplicate keys +void linkdb_replace (struct linkdb_node** head, void *key, void* data); // Takes into account duplicate keys void* linkdb_search (struct linkdb_node** head, void *key); void* linkdb_erase (struct linkdb_node** head, void *key); void linkdb_final (struct linkdb_node** head); |