From 5b3904201d47a523709cfae7c89027970623bed5 Mon Sep 17 00:00:00 2001 From: Waldemar Brodkorb Date: Sat, 26 Dec 2015 20:12:50 +0100 Subject: mtd-utils: update to latest, patch from buildroot --- .../patch-mkfs_ubifs_hashtable_hashtable_itr_c | 21 +++++++++++++++++++++ 1 file changed, 21 insertions(+) create mode 100644 package/mtd-utils/patches/patch-mkfs_ubifs_hashtable_hashtable_itr_c (limited to 'package/mtd-utils/patches/patch-mkfs_ubifs_hashtable_hashtable_itr_c') diff --git a/package/mtd-utils/patches/patch-mkfs_ubifs_hashtable_hashtable_itr_c b/package/mtd-utils/patches/patch-mkfs_ubifs_hashtable_hashtable_itr_c new file mode 100644 index 000000000..3888e85ba --- /dev/null +++ b/package/mtd-utils/patches/patch-mkfs_ubifs_hashtable_hashtable_itr_c @@ -0,0 +1,21 @@ +--- mtd-utils-ca39eb1.orig/mkfs.ubifs/hashtable/hashtable_itr.c 2012-05-07 09:19:39.000000000 +0200 ++++ mtd-utils-ca39eb1/mkfs.ubifs/hashtable/hashtable_itr.c 2015-12-25 23:30:04.000000000 +0100 +@@ -35,18 +35,6 @@ hashtable_iterator(struct hashtable *h) + } + + /*****************************************************************************/ +-/* key - return the key of the (key,value) pair at the current position */ +-/* value - return the value of the (key,value) pair at the current position */ +- +-void * +-hashtable_iterator_key(struct hashtable_itr *i) +-{ return i->e->k; } +- +-void * +-hashtable_iterator_value(struct hashtable_itr *i) +-{ return i->e->v; } +- +-/*****************************************************************************/ + /* advance - advance the iterator to the next element + * returns zero if advanced to end of table */ + -- cgit v1.2.3