aboutsummaryrefslogtreecommitdiffstats
path: root/example
diff options
context:
space:
mode:
Diffstat (limited to 'example')
-rw-r--r--example/fusexmp.c2
-rw-r--r--example/hello.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/example/fusexmp.c b/example/fusexmp.c
index 57045be..02d0363 100644
--- a/example/fusexmp.c
+++ b/example/fusexmp.c
@@ -49,7 +49,7 @@ static int xmp_readlink(const char *path, char *buf, size_t size)
}
-static int xmp_getdir(const char *path, fuse_dirh_t h, fuse_dirfil2_t filler)
+static int xmp_getdir(const char *path, fuse_dirh_t h, fuse_dirfil_t filler)
{
DIR *dp;
struct dirent *de;
diff --git a/example/hello.c b/example/hello.c
index 37020b2..5065fb7 100644
--- a/example/hello.c
+++ b/example/hello.c
@@ -35,7 +35,7 @@ static int hello_getattr(const char *path, struct stat *stbuf)
return res;
}
-static int hello_getdir(const char *path, fuse_dirh_t h, fuse_dirfil2_t filler)
+static int hello_getdir(const char *path, fuse_dirh_t h, fuse_dirfil_t filler)
{
if(strcmp(path, "/") != 0)
return -ENOENT;