From: Cedric BAIL Date: Wed, 28 Dec 2011 14:55:19 +0000 (+0000) Subject: eina: this arg could really be NULL and really simplify our code. X-Git-Tag: submit/devel/efl/20131022.203902~7030 X-Git-Url: http://review.tizen.org/git/?a=commitdiff_plain;h=30ba201d49db5e2981486fc6cd23920400cc338c;p=platform%2Fupstream%2Fefl.git eina: this arg could really be NULL and really simplify our code. SVN revision: 66601 --- 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