From 57a490e12a69f88dda48eebaad33986d5efa58be Mon Sep 17 00:00:00 2001 From: Miklos Szeredi Date: Fri, 16 Dec 2005 11:15:26 +0000 Subject: fix --- cache.c | 5 ++--- 1 file changed, 2 insertions(+), 3 deletions(-) (limited to 'cache.c') 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 #include #include #include @@ -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); } -- cgit v1.2.3