From 30ba201d49db5e2981486fc6cd23920400cc338c Mon Sep 17 00:00:00 2001 From: Cedric BAIL Date: Wed, 28 Dec 2011 14:55:19 +0000 Subject: [PATCH] eina: this arg could really be NULL and really simplify our code. SVN revision: 66601 --- legacy/eina/src/include/eina_hash.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) diff --git a/legacy/eina/src/include/eina_hash.h b/legacy/eina/src/include/eina_hash.h index 467eb7a..ab43b5e 100644 --- a/legacy/eina/src/include/eina_hash.h +++ b/legacy/eina/src/include/eina_hash.h @@ -578,7 +578,7 @@ EAPI Eina_Bool eina_hash_del(Eina_Hash *hash, * otherwise. */ EAPI void *eina_hash_find(const Eina_Hash *hash, - const void *key) EINA_ARG_NONNULL(1, 2); + const void *key) EINA_ARG_NONNULL(2); /** * @brief Modify the entry pointer at the specified key and return the old @@ -595,7 +595,7 @@ EAPI void *eina_hash_find(const Eina_Hash *hash, */ EAPI void *eina_hash_modify(Eina_Hash *hash, const void *key, - const void *data) EINA_ARG_NONNULL(1, 2, 3); + const void *data) EINA_ARG_NONNULL(2, 3); /** * @brief Modify the entry pointer at the specified key and return the -- 2.7.4