From: Nikolaus Rath Date: Wed, 5 Oct 2016 02:34:19 +0000 (-0700) Subject: Clarified purpose of helper.c, moved *version() to fuse.c X-Git-Tag: fuse-3.0.0rc1~91 X-Git-Url: http://git.maquefel.me/?a=commitdiff_plain;h=950398c4f68a75a12c370ee8bf4b0f57ca1bfd9f;p=qemu-gpiodev%2Flibfuse.git Clarified purpose of helper.c, moved *version() to fuse.c --- diff --git a/lib/fuse.c b/lib/fuse.c index 8bc6b0a..3304d68 100644 --- a/lib/fuse.c +++ b/lib/fuse.c @@ -4856,3 +4856,13 @@ int fuse_mount(struct fuse *f, const char *mountpoint) { void fuse_unmount(struct fuse *f) { return fuse_session_unmount(fuse_get_session(f)); } + +int fuse_version(void) +{ + return FUSE_VERSION; +} + +const char *fuse_pkgversion(void) +{ + return PACKAGE_VERSION; +} diff --git a/lib/helper.c b/lib/helper.c index 63f26c2..140de00 100644 --- a/lib/helper.c +++ b/lib/helper.c @@ -2,6 +2,10 @@ FUSE: Filesystem in Userspace Copyright (C) 2001-2007 Miklos Szeredi + Helper functions to create (simple) standalone programs. With the + aid of these functions it should be possible to create full FUSE + file system by implementing nothing but the request handlers. + This program can be distributed under the terms of the GNU LGPLv2. See the file COPYING.LIB. */ @@ -295,13 +299,3 @@ out1: fuse_opt_free_args(&args); return res; } - -int fuse_version(void) -{ - return FUSE_VERSION; -} - -const char *fuse_pkgversion(void) -{ - return PACKAGE_VERSION; -}