diff options
author | zsugabubus <zsugabubus@users.noreply.github.com> | 2020-01-30 16:17:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 11:17:25 -0500 |
commit | 81ab7d8c8c3e9524d93a0459b72e6950347135ac (patch) | |
tree | 8c696aac67b2ba210765499e93e97fa703a3c27e /example/notify_inval_inode.c | |
parent | 38c9cb43787bf83ca4e9c9af707e82165de99008 (diff) | |
download | libfuse-81ab7d8c8c3e9524d93a0459b72e6950347135ac.tar.gz |
examples: mark ops variables constant (#496)
Diffstat (limited to 'example/notify_inval_inode.c')
-rw-r--r-- | example/notify_inval_inode.c | 2 |
1 files changed, 1 insertions, 1 deletions
diff --git a/example/notify_inval_inode.c b/example/notify_inval_inode.c index cdea82d..fcf17dc 100644 --- a/example/notify_inval_inode.c +++ b/example/notify_inval_inode.c @@ -239,7 +239,7 @@ static void tfs_read(fuse_req_t req, fuse_ino_t ino, size_t size, reply_buf_limited(req, file_contents, file_size, off, size); } -static struct fuse_lowlevel_ops tfs_oper = { +static const struct fuse_lowlevel_ops tfs_oper = { .lookup = tfs_lookup, .getattr = tfs_getattr, .readdir = tfs_readdir, |