aboutsummaryrefslogtreecommitdiffstats
path: root/example/poll.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/poll.c
parent38c9cb43787bf83ca4e9c9af707e82165de99008 (diff)
downloadlibfuse-81ab7d8c8c3e9524d93a0459b72e6950347135ac.tar.gz
examples: mark ops variables constant (#496)
Diffstat (limited to 'example/poll.c')
-rw-r--r--example/poll.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/example/poll.c b/example/poll.c
index 64917cc..6bc3879 100644
--- a/example/poll.c
+++ b/example/poll.c
@@ -206,7 +206,7 @@ static int fsel_poll(const char *path, struct fuse_file_info *fi,
return 0;
}
-static struct fuse_operations fsel_oper = {
+static const struct fuse_operations fsel_oper = {
.getattr = fsel_getattr,
.readdir = fsel_readdir,
.open = fsel_open,