constness++

SVN revision: 39596
This commit is contained in:
Gustavo Sverzut Barbieri 2009-03-20 01:00:04 +00:00
parent 74ece51f0b
commit 21f6be2f66
2 changed files with 4 additions and 4 deletions

View File

@ -121,8 +121,8 @@ EAPI int eina_hash_superfast(const char *key, int len) EINA_ARG_NONNULL(1);
static inline int eina_hash_djb2(const char *key, int len) EINA_ARG_NONNULL(1);
/* Hash function from http://www.concentric.net/~Ttwang/tech/inthash.htm */
static inline int eina_hash_int32(unsigned int *pkey, int len) EINA_ARG_NONNULL(1);
static inline int eina_hash_int64(unsigned long int *pkey, int len) EINA_ARG_NONNULL(1);
static inline int eina_hash_int32(const unsigned int *pkey, int len) EINA_ARG_NONNULL(1);
static inline int eina_hash_int64(const unsigned long int *pkey, int len) EINA_ARG_NONNULL(1);
#include "eina_inline_hash.x"

View File

@ -54,7 +54,7 @@ eina_hash_djb2_len(const char *key, int *plen)
}
static inline int
eina_hash_int32(unsigned int *pkey, int len)
eina_hash_int32(const unsigned int *pkey, int len)
{
unsigned int key = *pkey;
@ -70,7 +70,7 @@ eina_hash_int32(unsigned int *pkey, int len)
}
static inline int
eina_hash_int64(unsigned long int *pkey, int len)
eina_hash_int64(const unsigned long int *pkey, int len)
{
unsigned long int key = *pkey;