diff options
author | zsugabubus <zsugabubus@users.noreply.github.com> | 2020-01-30 16:17:25 +0000 |
---|---|---|
committer | GitHub <noreply@github.com> | 2020-01-30 11:17:25 -0500 |
commit | 81ab7d8c8c3e9524d93a0459b72e6950347135ac (patch) | |
tree | 8c696aac67b2ba210765499e93e97fa703a3c27e /example/ioctl.c | |
parent | 38c9cb43787bf83ca4e9c9af707e82165de99008 (diff) | |
download | libfuse-81ab7d8c8c3e9524d93a0459b72e6950347135ac.tar.gz |
examples: mark ops variables constant (#496)
Diffstat (limited to 'example/ioctl.c')
-rw-r--r-- | example/ioctl.c | 2 |
1 files changed, 1 insertions, 1 deletions
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, |