aboutsummaryrefslogtreecommitdiffstats
path: root/lib/helper.c
diff options
context:
space:
mode:
authorBernd Schubert <bernd@bsbernd.com>2025-01-04 20:29:18 +0100
committerBernd Schubert <bernd@bsbernd.com>2025-02-10 16:56:45 +0100
commit0dd19282594430fe2e2b3aa7f2def466675dcadf (patch)
treeec1b8405451a8d6189656d4b8dd5925b302441ba /lib/helper.c
parent818e29b467e73a68dc01d11fef747cbcd7b59378 (diff)
downloadlibfuse-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/helper.c')
-rw-r--r--lib/helper.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/lib/helper.c b/lib/helper.c
index e84c857..2794e66 100644
--- a/lib/helper.c
+++ b/lib/helper.c
@@ -344,6 +344,10 @@ int fuse_main_real_317(int argc, char *argv[], const struct fuse_operations *op,
goto out1;
}
+ struct fuse *_fuse_new(struct fuse_args *args,
+ const struct fuse_operations *op, size_t op_size,
+ struct libfuse_version *version,
+ void *user_data);
fuse = _fuse_new(&args, op, op_size, version, user_data);
if (fuse == NULL) {
res = 3;