X-Git-Url: http://info.iut-bm.univ-fcomte.fr/pub/gitweb/simgrid.git/blobdiff_plain/3347b50014c1857b9d9f3a035d27b67a54beaea8..20801428bec07ed58c348d25ad39878f2c208389:/include/xbt/str.h diff --git a/include/xbt/str.h b/include/xbt/str.h index 63a3826f39..865ea28b4b 100644 --- a/include/xbt/str.h +++ b/include/xbt/str.h @@ -55,7 +55,7 @@ XBT_PUBLIC(char *) xbt_str_from_file(FILE * file); /** * @brief Returns the hash code of a string. */ -static XBT_INLINE unsigned int xbt_dict_hash_ext(const char *str, int str_len) +static XBT_INLINE unsigned int xbt_str_hash_ext(const char *str, int str_len) { #ifdef DJB2_HASH_FUNCTION @@ -97,7 +97,7 @@ static XBT_INLINE unsigned int xbt_dict_hash_ext(const char *str, int str_len) /** * @brief Returns the hash code of a string. */ -static XBT_INLINE unsigned int xbt_dict_hash(const char *str) +static XBT_INLINE unsigned int xbt_str_hash(const char *str) { #ifdef DJB2_HASH_FUNCTION /* fast implementation of djb2 algorithm */