aboutsummaryrefslogtreecommitdiffstats
path: root/example/hello.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/hello.c
parent38c9cb43787bf83ca4e9c9af707e82165de99008 (diff)
downloadlibfuse-81ab7d8c8c3e9524d93a0459b72e6950347135ac.tar.gz
examples: mark ops variables constant (#496)
Diffstat (limited to 'example/hello.c')
-rw-r--r--example/hello.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/hello.c b/example/hello.c
index f307bf2..dd08ef6 100644
--- a/example/hello.c
+++ b/example/hello.c
@@ -128,7 +128,7 @@ static int hello_read(const char *path, char *buf, size_t size, off_t offset,
return size;
}
-static struct fuse_operations hello_oper = {
+static const struct fuse_operations hello_oper = {
.init = hello_init,
.getattr = hello_getattr,
.readdir = hello_readdir,