Fix FUSE_USE_VERSION in example/
authorBernd Schubert <bschubert@ddn.com>
Tue, 2 Jul 2024 15:37:50 +0000 (17:37 +0200)
committerBernd Schubert <bernd.schubert@fastmail.fm>
Thu, 1 Aug 2024 14:04:57 +0000 (16:04 +0200)
This is an addition to commit a8f1ae35af66, which
introduced the 312 API, but didn't set the right
API version in all examples.

Signed-off-by: Bernd Schubert <bschubert@ddn.com>
example/hello_ll.c
example/notify_inval_entry.c
example/notify_inval_inode.c

index 28bd1c4a9abcf0686014daa01974e7a0d917ab19..0fcb7fe5526a5804a68333996e9aee247153690c 100644 (file)
@@ -18,7 +18,7 @@
  * \include hello_ll.c
  */
 
-#define FUSE_USE_VERSION 34
+#define FUSE_USE_VERSION FUSE_MAKE_VERSION(3, 12)
 
 #include <fuse_lowlevel.h>
 #include <stdio.h>
index dd2af92cd7d377bbd4884d3e7455094e25b5fef9..1060d505e9af64ede5a729d7872e97e3e4432593 100644 (file)
@@ -76,7 +76,7 @@
  */
 
 
-#define FUSE_USE_VERSION 34
+#define FUSE_USE_VERSION FUSE_MAKE_VERSION(3, 12)
 
 #include <fuse_lowlevel.h>
 #include <stdio.h>
index db24335cb0c0a226355f6c5ce696b4c6d9ec23d9..99631cc3dc1ff9f481508e3302e5df3983235a52 100644 (file)
@@ -59,7 +59,7 @@
  */
 
 
-#define FUSE_USE_VERSION 34
+#define FUSE_USE_VERSION FUSE_MAKE_VERSION(3, 12)
 
 #include <fuse_lowlevel.h>
 #include <stdio.h>