patch-mkfs_ubifs_hashtable_hashtable_itr_h 815 B

1234567891011121314151617181920
  1. --- mtd-utils-ca39eb1.orig/mkfs.ubifs/hashtable/hashtable_itr.h 2012-05-07 09:19:39.000000000 +0200
  2. +++ mtd-utils-ca39eb1/mkfs.ubifs/hashtable/hashtable_itr.h 2015-12-25 23:30:23.000000000 +0100
  3. @@ -28,7 +28,7 @@ hashtable_iterator(struct hashtable *h);
  4. /* hashtable_iterator_key
  5. * - return the value of the (key,value) pair at the current position */
  6. -extern inline void *
  7. +static inline void *
  8. hashtable_iterator_key(struct hashtable_itr *i)
  9. {
  10. return i->e->k;
  11. @@ -37,7 +37,7 @@ hashtable_iterator_key(struct hashtable_
  12. /*****************************************************************************/
  13. /* value - return the value of the (key,value) pair at the current position */
  14. -extern inline void *
  15. +static inline void *
  16. hashtable_iterator_value(struct hashtable_itr *i)
  17. {
  18. return i->e->v;