diff options
author | Bernd Schubert <bernd@bsbernd.com> | 2025-01-04 20:29:18 +0100 |
---|---|---|
committer | Bernd Schubert <bernd@bsbernd.com> | 2025-02-10 16:56:45 +0100 |
commit | 0dd19282594430fe2e2b3aa7f2def466675dcadf (patch) | |
tree | ec1b8405451a8d6189656d4b8dd5925b302441ba /lib/fuse.c | |
parent | 818e29b467e73a68dc01d11fef747cbcd7b59378 (diff) | |
download | libfuse-0dd19282594430fe2e2b3aa7f2def466675dcadf.tar.gz |
Avoid global declarion of internal functions that are new in 3.17
_fuse_new() is not supposed to be called by external users
outside of internal functions or static inlined functions.
This also removes several functions from lib/fuse_versionscript
which where added and exported by
commit 58f85bfa9b7d ("Add in the libfuse version a program...)
as these are libfuse internal only.
Signed-off-by: Bernd Schubert <bernd@bsbernd.com>
Diffstat (limited to 'lib/fuse.c')
-rw-r--r-- | lib/fuse.c | 6 |
1 files changed, 6 insertions, 0 deletions
@@ -5009,6 +5009,12 @@ struct fuse *_fuse_new_317(struct fuse_args *args, f->conf.readdir_ino = 1; #endif + /* not declared globally, to restrict usage of this function */ + struct fuse_session *_fuse_session_new( + 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); if (f->se == NULL) goto out_free_fs; |