aboutsummaryrefslogtreecommitdiffstats
path: root/lib/fuse.c
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-02-08 14:35:46 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-09 13:55:42 +0100
commit53eefce4e735dd1d8f77ceadfc8beb9679390e08 (patch)
tree40a86b6de06428c7d280bb04e0cfde9e6f8499f0 /lib/fuse.c
parentb0f32a8b318d1a01f88eb37f09fd4bb8ac175bb4 (diff)
downloadlibfuse-53eefce4e735dd1d8f77ceadfc8beb9679390e08.tar.gz
Rename to fuse_session_new_versioned
Similar previous renames to fuse_main_real_versioned, but here for the low level fuse_session_new. Also remove symbol versioned as part of "fuse_session_new" as that function is not part of the official API/ABI and to allow easier access with dlopen/dlsym. Also switch back to a macro fuse_session_new, just in case some code has some expectations on that. Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Diffstat (limited to 'lib/fuse.c')
-rw-r--r--lib/fuse.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/lib/fuse.c b/lib/fuse.c
index 5d57d24..0b04f47 100644
--- a/lib/fuse.c
+++ b/lib/fuse.c
@@ -5014,12 +5014,12 @@ struct fuse *_fuse_new_317(struct fuse_args *args,
#endif
/* not declared globally, to restrict usage of this function */
- struct fuse_session *_fuse_session_new(
+ struct fuse_session *fuse_session_new_versioned(
struct fuse_args *args, const struct fuse_lowlevel_ops *op,
size_t op_size, struct libfuse_version *version,
void *userdata);
-
- f->se = _fuse_session_new(args, &llop, sizeof(llop), version, f);
+ f->se = fuse_session_new_versioned(args, &llop, sizeof(llop), version,
+ f);
if (f->se == NULL)
goto out_free_fs;