From 286b22cb9ad36d4c39b7024947f890b3cf47215d Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Mon, 7 Mar 2011 03:53:11 -0800 Subject: Fix examples/VFS to use correct prototypes for is_offline() and set_offline(). Autobuild-User: Jeremy Allison Autobuild-Date: Mon Mar 7 13:39:17 CET 2011 on sn-devel-104 --- examples/VFS/skel_opaque.c | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'examples/VFS/skel_opaque.c') diff --git a/examples/VFS/skel_opaque.c b/examples/VFS/skel_opaque.c index da126e3c0a..c7350e2810 100644 --- a/examples/VFS/skel_opaque.c +++ b/examples/VFS/skel_opaque.c @@ -760,13 +760,13 @@ static bool skel_aio_force(struct vfs_handle_struct *handle, struct files_struct return false; } -static bool skel_is_offline(struct vfs_handle_struct *handle, const char *path, SMB_STRUCT_STAT *sbuf) +static bool skel_is_offline(struct vfs_handle_struct *handle, const struct smb_filename *fname, SMB_STRUCT_STAT *sbuf) { errno = ENOSYS; return false; } -static int skel_set_offline(struct vfs_handle_struct *handle, const char *path) +static int skel_set_offline(struct vfs_handle_struct *handle, const struct smb_filename *fname) { errno = ENOSYS; return -1; -- cgit