forked from github/server
fix cont arguments for new clibs version
This commit is contained in:
parent
38c1dfe26f
commit
820de2ee35
3 changed files with 5 additions and 5 deletions
2
clibs
2
clibs
|
@ -1 +1 @@
|
|||
Subproject commit 1e1c947c8034f071c6848dcf1c11138733949825
|
||||
Subproject commit ed5c4fee3afbc3d8be79d64857f30702aed522f8
|
|
@ -723,7 +723,7 @@ int change_money(unit * u, int v)
|
|||
return 0;
|
||||
}
|
||||
|
||||
static int add_resourcename_cb(const void * match, const void * key,
|
||||
static int add_resourcename_cb(void * match, const void * key,
|
||||
size_t keylen, void *data)
|
||||
{
|
||||
struct locale * lang = (struct locale *)data;
|
||||
|
@ -773,7 +773,7 @@ attrib_type at_showitem = {
|
|||
"showitem"
|
||||
};
|
||||
|
||||
static int add_itemname_cb(const void * match, const void * key,
|
||||
static int add_itemname_cb(void * match, const void * key,
|
||||
size_t keylen, void *data)
|
||||
{
|
||||
struct locale * lang = (struct locale *)data;
|
||||
|
@ -919,7 +919,7 @@ void free_rtype(resource_type *rtype) {
|
|||
free(rtype);
|
||||
}
|
||||
|
||||
static int free_rtype_cb(const void * match, const void * key,
|
||||
static int free_rtype_cb(void * match, const void * key,
|
||||
size_t keylen, void *cbdata)
|
||||
{
|
||||
resource_type *rtype = ((rt_entry *)match)->value;;
|
||||
|
|
|
@ -2949,7 +2949,7 @@ void free_spellbook(spellbook *sb) {
|
|||
free(sb);
|
||||
}
|
||||
|
||||
static int free_spellbook_cb(const void *match, const void *key, size_t keylen, void *data) {
|
||||
static int free_spellbook_cb(void *match, const void *key, size_t keylen, void *data) {
|
||||
const sb_entry *ent = (const sb_entry *)match;
|
||||
UNUSED_ARG(data);
|
||||
UNUSED_ARG(keylen);
|
||||
|
|
Loading…
Reference in a new issue