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/passthrough.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/passthrough.c') diff --git a/example/passthrough.c b/example/passthrough.c index 012bd31..ec2f872 100644 --- a/example/passthrough.c +++ b/example/passthrough.c @@ -506,7 +506,7 @@ static off_t xmp_lseek(const char *path, off_t off, int whence, struct fuse_file return res; } -static struct fuse_operations xmp_oper = { +static const struct fuse_operations xmp_oper = { .init = xmp_init, .getattr = xmp_getattr, .access = xmp_access, -- cgit v1.2.3