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/ioctl.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/ioctl.c') diff --git a/example/ioctl.c b/example/ioctl.c index 8fdd8f6..5297323 100644 --- a/example/ioctl.c +++ b/example/ioctl.c @@ -214,7 +214,7 @@ static int fioc_ioctl(const char *path, unsigned int cmd, void *arg, return -EINVAL; } -static struct fuse_operations fioc_oper = { +static const struct fuse_operations fioc_oper = { .getattr = fioc_getattr, .readdir = fioc_readdir, .truncate = fioc_truncate, -- cgit v1.2.3