summaryrefslogtreecommitdiff
path: root/example/passthrough.c
diff options
context:
space:
mode:
authorzsugabubus <zsugabubus@users.noreply.github.com>2020-01-30 16:17:25 +0000
committerGitHub <noreply@github.com>2020-01-30 11:17:25 -0500
commit81ab7d8c8c3e9524d93a0459b72e6950347135ac (patch)
tree8c696aac67b2ba210765499e93e97fa703a3c27e /example/passthrough.c
parent38c9cb43787bf83ca4e9c9af707e82165de99008 (diff)
downloadfuse-81ab7d8c8c3e9524d93a0459b72e6950347135ac.tar.gz
examples: mark ops variables constant (#496)
Diffstat (limited to 'example/passthrough.c')
-rw-r--r--example/passthrough.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/passthrough.c b/example/passthrough.c
index 012bd31..ec2f872 100644
--- a/example/passthrough.c
+++ b/example/passthrough.c
@@ -506,7 +506,7 @@ static off_t xmp_lseek(const char *path, off_t off, int whence, struct fuse_file
return res;
}
-static struct fuse_operations xmp_oper = {
+static const struct fuse_operations xmp_oper = {
.init = xmp_init,
.getattr = xmp_getattr,
.access = xmp_access,