eina: this arg could really be NULL and really simplify our code.
authorcedric <cedric>
Wed, 28 Dec 2011 14:55:19 +0000 (14:55 +0000)
committercedric <cedric@7cbeb6ba-43b4-40fd-8cce-4c39aea84d33>
Wed, 28 Dec 2011 14:55:19 +0000 (14:55 +0000)
git-svn-id: http://svn.enlightenment.org/svn/e/trunk/eina@66601 7cbeb6ba-43b4-40fd-8cce-4c39aea84d33

src/include/eina_hash.h

index 467eb7a..ab43b5e 100644 (file)
@@ -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