diff options
author | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-16 11:15:26 +0000 |
---|---|---|
committer | Miklos Szeredi <miklos@szeredi.hu> | 2005-12-16 11:15:26 +0000 |
commit | 57a490e12a69f88dda48eebaad33986d5efa58be (patch) | |
tree | fe8682c638b3bbf3c7a3663d4aee85bfe5a756c8 /cache.c | |
parent | eddbd3967b459a0ccdf09e827709fd135b29aa0b (diff) | |
download | sshfs-57a490e12a69f88dda48eebaad33986d5efa58be.tar sshfs-57a490e12a69f88dda48eebaad33986d5efa58be.tar.gz sshfs-57a490e12a69f88dda48eebaad33986d5efa58be.tar.bz2 sshfs-57a490e12a69f88dda48eebaad33986d5efa58be.zip |
fix
Diffstat (limited to 'cache.c')
-rw-r--r-- | cache.c | 5 |
1 files changed, 2 insertions, 3 deletions
@@ -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); } |