summaryrefslogtreecommitdiff
path: root/lib/libfuse
diff options
context:
space:
mode:
authorSylvestre Gallon <syl@cvs.openbsd.org>2014-02-05 20:47:39 +0000
committerSylvestre Gallon <syl@cvs.openbsd.org>2014-02-05 20:47:39 +0000
commit12723a1b1c3a0fc2841bf9a2b04a82a9cc84df17 (patch)
treee1dd673674c6e9093705b4d96b95f9c680e3cec9 /lib/libfuse
parenteb039f0fab70f02f68e26d6d6fc3dbb65f08b87a (diff)
Allow libfuse to compile with WARNINGS=yes. No functional change.
ok tedu@
Diffstat (limited to 'lib/libfuse')
-rw-r--r--lib/libfuse/fuse.c7
1 files changed, 4 insertions, 3 deletions
diff --git a/lib/libfuse/fuse.c b/lib/libfuse/fuse.c
index 05377df51c5..0fbab8145ef 100644
--- a/lib/libfuse/fuse.c
+++ b/lib/libfuse/fuse.c
@@ -1,4 +1,4 @@
-/* $OpenBSD: fuse.c,v 1.19 2014/02/05 20:13:58 syl Exp $ */
+/* $OpenBSD: fuse.c,v 1.20 2014/02/05 20:47:38 syl Exp $ */
/*
* Copyright (c) 2013 Sylvestre Gallon <ccna.syl@gmail.com>
*
@@ -337,7 +337,8 @@ dump_version(void)
}
static int
-ifuse_process_opt(void *data, const char *arg, int key, struct fuse_args *args)
+ifuse_process_opt(void *data, const char *arg, int key,
+ unused struct fuse_args *args)
{
struct fuse_core_opt *opt = data;
struct stat st;
@@ -429,7 +430,7 @@ fuse_teardown(struct fuse *fuse, char *mp)
}
int
-fuse_invalidate(struct fuse *f, const char *path)
+fuse_invalidate(unused struct fuse *f, unused const char *path)
{
return (EINVAL);
}