move imlib_hash_size up in the code so we dont have to declare a prototype for internal usage

SVN revision: 20373
This commit is contained in:
Mike Frysinger 2006-02-10 00:01:30 +00:00
parent 2d22b66a4f
commit d149aa86d7
1 changed files with 8 additions and 8 deletions

View File

@ -345,6 +345,14 @@ imlib_hash_find(Imlib_Hash * hash, const char *key)
return NULL;
}
int
imlib_hash_size(Imlib_Hash * hash)
{
if (!hash)
return 0;
return 256;
}
void
imlib_hash_free(Imlib_Hash * hash)
{
@ -397,14 +405,6 @@ imlib_hash_foreach(Imlib_Hash * hash, int (*func) (Imlib_Hash * hash,
}
}
int
imlib_hash_size(Imlib_Hash * hash)
{
if (!hash)
return 0;
return 256;
}
int
imlib_list_alloc_error(void)
{