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