From f212ec087037b5bb74700e6cce63c208bdbe8442 Mon Sep 17 00:00:00 2001 From: Bernd Schubert Date: Sun, 2 Oct 2022 22:39:52 +0200 Subject: Fix ublic/apple build for the fuse_parse_cmdline ABI symbol For __APPLE__ and __ULIBC__, which are assumed to not support versioned symbols, helper.c has a compat ABI symbol for fuse_parse_cmdline(). However that ABI symbol was conflicting with the API macro (which redirects to the right API function for recompilations against current libfuse). Additionally the parameter 'opts' had a typo and was called 'out_opts'. --- lib/helper.c | 12 ------------ 1 file changed, 12 deletions(-) (limited to 'lib/helper.c') diff --git a/lib/helper.c b/lib/helper.c index 84013b9..c3796c1 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -251,18 +251,6 @@ int fuse_parse_cmdline_30(struct fuse_args *args, return rc; } -/** - * Compatibility ABI symbol for systems that do not support version symboling - */ -#if (defined(__UCLIBC__) || defined(__APPLE__)) -int fuse_parse_cmdline(struct fuse_args *args, - struct fuse_cmdline_opts *opts) -{ - return fuse_parse_cmdline_30(args, out_opts); -} -#endif - - int fuse_daemonize(int foreground) { if (!foreground) { -- cgit v1.2.3