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/invalidate_path.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/invalidate_path.c') diff --git a/example/invalidate_path.c b/example/invalidate_path.c index 74c83c3..9e2754b 100644 --- a/example/invalidate_path.c +++ b/example/invalidate_path.c @@ -153,7 +153,7 @@ static int xmp_read(const char *path, char *buf, size_t size, off_t offset, } } -static struct fuse_operations xmp_oper = { +static const struct fuse_operations xmp_oper = { .init = xmp_init, .getattr = xmp_getattr, .readdir = xmp_readdir, -- cgit v1.2.3