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/null.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'example/null.c') diff --git a/example/null.c b/example/null.c index ed68c0b..4cd5351 100644 --- a/example/null.c +++ b/example/null.c @@ -104,7 +104,7 @@ static int null_write(const char *path, const char *buf, size_t size, return size; } -static struct fuse_operations null_oper = { +static const struct fuse_operations null_oper = { .getattr = null_getattr, .truncate = null_truncate, .open = null_open, -- cgit v1.2.3