From b887c4ee9338215ce11aa350c97fcc6f133fcce7 Mon Sep 17 00:00:00 2001 From: "Kaleb S. KEITHLEY" Date: Tue, 18 Nov 2014 14:44:59 -0500 Subject: api: versioned symbols in libgfapi.so for compatibility Use versioned symbols to keep libgfapi at libgfapi.so.0.0.0 Revisited to address broken build on Mac OS X See http://review.gluster.org/9055 Change-Id: I0f26668898749f57b61490b18f1f04c42996225d BUG: 1165129 Signed-off-by: Kaleb S. KEITHLEY Reviewed-on: http://review.gluster.org/9145 Reviewed-by: Shyamsundar Ranganathan Tested-by: Gluster Build System Reviewed-by: Ravishankar N Reviewed-by: Raghavendra Bhat --- api/src/glfs.c | 7 ++----- 1 file changed, 2 insertions(+), 5 deletions(-) (limited to 'api/src/glfs.c') diff --git a/api/src/glfs.c b/api/src/glfs.c index 41c6da576a7..42e4a58d462 100644 --- a/api/src/glfs.c +++ b/api/src/glfs.c @@ -751,9 +751,6 @@ pub_glfs_init (struct glfs *fs) GFAPI_SYMVER_PUBLIC_DEFAULT(glfs_init, 3.4.0); -extern xlator_t * -priv_glfs_active_subvol (struct glfs *); - int pub_glfs_fini (struct glfs *fs) { @@ -794,7 +791,7 @@ pub_glfs_fini (struct glfs *fs) pthread_mutex_unlock (&fs->mutex); if (fs_init != 0) { - subvol = priv_glfs_active_subvol (fs); + subvol = glfs_active_subvol (fs); if (subvol) { /* PARENT_DOWN within priv_glfs_subvol_done() is issued only on graph switch (new graph should activiate and @@ -808,7 +805,7 @@ pub_glfs_fini (struct glfs *fs) disconnection in the future. */ } - priv_glfs_subvol_done (fs, subvol); + glfs_subvol_done (fs, subvol); } if (gf_log_fini(ctx) != 0) -- cgit