Skip site navigation (1)Skip section navigation (2)
Date:      Mon, 27 May 2013 16:28:56 +0000 (UTC)
From:      Baptiste Daroussin <bapt@FreeBSD.org>
To:        ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org
Subject:   svn commit: r319270 - head/sysutils/fusefs-unionfs/files
Message-ID:  <201305271628.r4RGSurm065733@svn.freebsd.org>

next in thread | raw e-mail | index | archive | help
Author: bapt
Date: Mon May 27 16:28:56 2013
New Revision: 319270
URL: http://svnweb.freebsd.org/changeset/ports/319270

Log:
  Fix build with clang

Added:
  head/sysutils/fusefs-unionfs/files/
  head/sysutils/fusefs-unionfs/files/patch-src__hashtable_itr.h   (contents, props changed)

Added: head/sysutils/fusefs-unionfs/files/patch-src__hashtable_itr.h
==============================================================================
--- /dev/null	00:00:00 1970	(empty, because file is newly added)
+++ head/sysutils/fusefs-unionfs/files/patch-src__hashtable_itr.h	Mon May 27 16:28:56 2013	(r319270)
@@ -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



Want to link to this message? Use this URL: <https://mail-archive.FreeBSD.org/cgi/mid.cgi?201305271628.r4RGSurm065733>