You are viewing a plain text version of this content. The canonical link for it is here.
Posted to commits@zookeeper.apache.org by mi...@apache.org on 2012/04/27 08:48:18 UTC

svn commit: r1331246 - in /zookeeper/trunk: CHANGES.txt src/c/src/hashtable/hashtable_itr.h

Author: michim
Date: Fri Apr 27 06:48:17 2012
New Revision: 1331246

URL: http://svn.apache.org/viewvc?rev=1331246&view=rev
Log:
ZOOKEEPER-1339. C client doesn't build with --enable-debug (Eric Liang via michim)

Modified:
    zookeeper/trunk/CHANGES.txt
    zookeeper/trunk/src/c/src/hashtable/hashtable_itr.h

Modified: zookeeper/trunk/CHANGES.txt
URL: http://svn.apache.org/viewvc/zookeeper/trunk/CHANGES.txt?rev=1331246&r1=1331245&r2=1331246&view=diff
==============================================================================
--- zookeeper/trunk/CHANGES.txt (original)
+++ zookeeper/trunk/CHANGES.txt Fri Apr 27 06:48:17 2012
@@ -172,6 +172,9 @@ BUGFIXES:
   ZOOKEEPER-1439. c sdk: core in log_env for lack of checking the output
   argument *pwp* of getpwuid_r (Yubing Yin via michim)
 
+  ZOOKEEPER-1339. C client doesn't build with --enable-debug
+  (Eric Liang via michim)
+
 IMPROVEMENTS:
 
   ZOOKEEPER-1170. Fix compiler (eclipse) warnings: unused imports,

Modified: zookeeper/trunk/src/c/src/hashtable/hashtable_itr.h
URL: http://svn.apache.org/viewvc/zookeeper/trunk/src/c/src/hashtable/hashtable_itr.h?rev=1331246&r1=1331245&r2=1331246&view=diff
==============================================================================
--- zookeeper/trunk/src/c/src/hashtable/hashtable_itr.h (original)
+++ zookeeper/trunk/src/c/src/hashtable/hashtable_itr.h Fri Apr 27 06:48:17 2012
@@ -32,7 +32,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;
@@ -41,7 +41,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;