From 81ab7d8c8c3e9524d93a0459b72e6950347135ac Mon Sep 17 00:00:00 2001 From: zsugabubus Date: Thu, 30 Jan 2020 16:17:25 +0000 Subject: examples: mark ops variables constant (#496) --- example/notify_inval_inode.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/notify_inval_inode.c') 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, -- cgit v1.2.3