aboutsummaryrefslogtreecommitdiffstats
path: root/sysutils
diff options
context:
space:
mode:
authorbapt <bapt@FreeBSD.org>2013-05-28 00:28:56 +0800
committerbapt <bapt@FreeBSD.org>2013-05-28 00:28:56 +0800
commitc50c8ee66bba63b4a9aa8349b2a1053884db4825 (patch)
treed4fe5abf566ec976fd548dac0604226663333bc8 /sysutils
parentb5241dd71433a957d1432341224c941bfd858dea (diff)
downloadfreebsd-ports-gnome-c50c8ee66bba63b4a9aa8349b2a1053884db4825.tar.gz
freebsd-ports-gnome-c50c8ee66bba63b4a9aa8349b2a1053884db4825.tar.zst
freebsd-ports-gnome-c50c8ee66bba63b4a9aa8349b2a1053884db4825.zip
Fix build with clang
Diffstat (limited to 'sysutils')
-rw-r--r--sysutils/fusefs-unionfs/files/patch-src__hashtable_itr.h27
1 files changed, 27 insertions, 0 deletions
diff --git a/sysutils/fusefs-unionfs/files/patch-src__hashtable_itr.h b/sysutils/fusefs-unionfs/files/patch-src__hashtable_itr.h
new file mode 100644
index 000000000000..ab4f85100427
--- /dev/null
+++ b/sysutils/fusefs-unionfs/files/patch-src__hashtable_itr.h
@@ -0,0 +1,27 @@
+--- ./src/hashtable_itr.h.orig 2010-05-20 13:04:08.000000000 +0200
++++ ./src/hashtable_itr.h 2013-05-27 18:27:15.594067901 +0200
+@@ -28,20 +28,14 @@
+ /* hashtable_iterator_key
+ * - return the value of the (key,value) pair at the current position */
+
+-extern inline void *
+-hashtable_iterator_key(struct hashtable_itr *i)
+-{
+- return i->e->k;
+-}
++void *
++hashtable_iterator_key(struct hashtable_itr *i);
+
+ /*****************************************************************************/
+ /* value - return the value of the (key,value) pair at the current position */
+
+-extern inline void *
+-hashtable_iterator_value(struct hashtable_itr *i)
+-{
+- return i->e->v;
+-}
++void *
++hashtable_iterator_value(struct hashtable_itr *i);
+
+ /*****************************************************************************/
+ /* advance - advance the iterator to the next element