From owner-svn-ports-all@FreeBSD.ORG Mon May 27 16:28:56 2013 Return-Path: Delivered-To: svn-ports-all@freebsd.org Received: from mx1.freebsd.org (mx1.FreeBSD.org [8.8.178.115]) by hub.freebsd.org (Postfix) with ESMTP id 8EC9C41D; Mon, 27 May 2013 16:28:56 +0000 (UTC) (envelope-from bapt@FreeBSD.org) Received: from svn.freebsd.org (svn.freebsd.org [IPv6:2001:1900:2254:2068::e6a:0]) by mx1.freebsd.org (Postfix) with ESMTP id 81501D5A; Mon, 27 May 2013 16:28:56 +0000 (UTC) Received: from svn.freebsd.org ([127.0.1.70]) by svn.freebsd.org (8.14.6/8.14.6) with ESMTP id r4RGSuRX065734; Mon, 27 May 2013 16:28:56 GMT (envelope-from bapt@svn.freebsd.org) Received: (from bapt@localhost) by svn.freebsd.org (8.14.6/8.14.5/Submit) id r4RGSurm065733; Mon, 27 May 2013 16:28:56 GMT (envelope-from bapt@svn.freebsd.org) Message-Id: <201305271628.r4RGSurm065733@svn.freebsd.org> From: Baptiste Daroussin Date: Mon, 27 May 2013 16:28:56 +0000 (UTC) To: ports-committers@freebsd.org, svn-ports-all@freebsd.org, svn-ports-head@freebsd.org Subject: svn commit: r319270 - head/sysutils/fusefs-unionfs/files X-SVN-Group: ports-head MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit X-BeenThere: svn-ports-all@freebsd.org X-Mailman-Version: 2.1.14 Precedence: list List-Id: SVN commit messages for the ports tree List-Unsubscribe: , List-Archive: List-Post: List-Help: List-Subscribe: , X-List-Received-Date: Mon, 27 May 2013 16:28:56 -0000 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