put __UNUSED__ where we usually put it : after the parameter name

SVN revision: 58638
This commit is contained in:
Vincent Torri 2011-04-13 16:29:29 +00:00
parent 8a8153bf2d
commit 4ae466a30c
1 changed files with 4 additions and 4 deletions

View File

@ -395,21 +395,21 @@ _eina_file_map_close(Eina_File_Map *map)
}
static unsigned int
_eina_file_map_key_length(__UNUSED__ const void *key)
_eina_file_map_key_length(const void *key __UNUSED__)
{
return sizeof (unsigned long int) * 2;
}
static int
_eina_file_map_key_cmp(const unsigned long int *key1, __UNUSED__ int key1_length,
const unsigned long int *key2, __UNUSED__ int key2_length)
_eina_file_map_key_cmp(const unsigned long int *key1, int key1_length __UNUSED__,
const unsigned long int *key2, int key2_length __UNUSED__)
{
if (key1[0] - key2[0] == 0) return key1[1] - key2[1];
return key1[0] - key2[0];
}
static int
_eina_file_map_key_hash(const unsigned long int *key, __UNUSED__ int key_length)
_eina_file_map_key_hash(const unsigned long int *key, int key_length __UNUSED__)
{
return eina_hash_int64(&key[0], sizeof (unsigned long int))
^ eina_hash_int64(&key[1], sizeof (unsigned long int));