aboutsummaryrefslogtreecommitdiffstats
path: root/example/null.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/null.c
parent38c9cb43787bf83ca4e9c9af707e82165de99008 (diff)
downloadlibfuse-81ab7d8c8c3e9524d93a0459b72e6950347135ac.tar.gz
examples: mark ops variables constant (#496)
Diffstat (limited to 'example/null.c')
-rw-r--r--example/null.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/null.c b/example/null.c
index ed68c0b..4cd5351 100644
--- a/example/null.c
+++ b/example/null.c
@@ -104,7 +104,7 @@ static int null_write(const char *path, const char *buf, size_t size,
return size;
}
-static struct fuse_operations null_oper = {
+static const struct fuse_operations null_oper = {
.getattr = null_getattr,
.truncate = null_truncate,
.open = null_open,