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/hello_ll.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/hello_ll.c') diff --git a/example/hello_ll.c b/example/hello_ll.c index 51b452c..73cd78d 100644 --- a/example/hello_ll.c +++ b/example/hello_ll.c @@ -153,7 +153,7 @@ static void hello_ll_read(fuse_req_t req, fuse_ino_t ino, size_t size, reply_buf_limited(req, hello_str, strlen(hello_str), off, size); } -static struct fuse_lowlevel_ops hello_ll_oper = { +static const struct fuse_lowlevel_ops hello_ll_oper = { .lookup = hello_ll_lookup, .getattr = hello_ll_getattr, .readdir = hello_ll_readdir, -- cgit v1.2.3