aboutsummaryrefslogtreecommitdiff
path: root/cache.c
diff options
context:
space:
mode:
authorMiklos Szeredi <miklos@szeredi.hu>2005-12-16 11:15:26 +0000
committerMiklos Szeredi <miklos@szeredi.hu>2005-12-16 11:15:26 +0000
commit57a490e12a69f88dda48eebaad33986d5efa58be (patch)
treefe8682c638b3bbf3c7a3663d4aee85bfe5a756c8 /cache.c
parenteddbd3967b459a0ccdf09e827709fd135b29aa0b (diff)
downloadsshfs-57a490e12a69f88dda48eebaad33986d5efa58be.tar
sshfs-57a490e12a69f88dda48eebaad33986d5efa58be.tar.gz
sshfs-57a490e12a69f88dda48eebaad33986d5efa58be.tar.bz2
sshfs-57a490e12a69f88dda48eebaad33986d5efa58be.zip
fix
Diffstat (limited to 'cache.c')
-rw-r--r--cache.c5
1 files changed, 2 insertions, 3 deletions
diff --git a/cache.c b/cache.c
index b0aea93..af98ea1 100644
--- a/cache.c
+++ b/cache.c
@@ -7,7 +7,6 @@
*/
#include "cache.h"
-#include <fuse_opt.h>
#include <stdio.h>
#include <stdlib.h>
#include <string.h>
@@ -531,12 +530,12 @@ static const struct fuse_opt cache_opts[] = {
FUSE_OPT_END
};
-int cache_parse_options(int *argcp, char **argvp[])
+int cache_parse_options(struct fuse_args *args)
{
cache.stat_timeout = DEFAULT_CACHE_TIMEOUT;
cache.dir_timeout = DEFAULT_CACHE_TIMEOUT;
cache.link_timeout = DEFAULT_CACHE_TIMEOUT;
cache.on = 1;
- return fuse_opt_parse(0, NULL, &cache, cache_opts, NULL, argcp, argvp);
+ return fuse_opt_parse(0, NULL, &cache, cache_opts, NULL, args);
}