summaryrefslogtreecommitdiffstats
path: root/libglusterfs/src
diff options
context:
space:
mode:
authorJeff Darcy <jdarcy@fb.com>2017-07-06 08:52:44 -0700
committerJeff Darcy <jeff@pl.atyp.us>2017-07-06 19:05:23 +0000
commitfb4445816a9775daf32b590d0158ef0271c2c866 (patch)
tree9fa49e45b59d3b05e207a69ddfd69c9a5e9a5304 /libglusterfs/src
parentb6e84d469993ceff1c0d6f3201cbcecdfa17eb06 (diff)
Build/test fixes - build_env, tirpc, mem-pool, cleanup
Differential Revision: https://phabricator.intern.facebook.com/D5376801 Change-Id: I5bf733a395ef2b85065200fa5810ced27ee0d682 Reviewed-on: https://review.gluster.org/17719 Smoke: Gluster Build System <jenkins@build.gluster.org> Tested-by: Jeff Darcy <jeff@pl.atyp.us> CentOS-regression: Gluster Build System <jenkins@build.gluster.org> Reviewed-by: Jeff Darcy <jeff@pl.atyp.us>
Diffstat (limited to 'libglusterfs/src')
-rw-r--r--libglusterfs/src/mem-pool.c2
1 files changed, 2 insertions, 0 deletions
diff --git a/libglusterfs/src/mem-pool.c b/libglusterfs/src/mem-pool.c
index 4d81ade8b60..d189be7960e 100644
--- a/libglusterfs/src/mem-pool.c
+++ b/libglusterfs/src/mem-pool.c
@@ -533,6 +533,7 @@ fwd_addr_out:
}
+#ifndef DISABLE_MEMPOOL
static int
__is_member (struct mem_pool *pool, void *ptr)
{
@@ -551,6 +552,7 @@ __is_member (struct mem_pool *pool, void *ptr)
return 1;
}
+#endif
void