summaryrefslogtreecommitdiff
path: root/source3/modules/vfs_default.c
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-20 22:55:25 +0200
committerJeremy Allison <jra@samba.org>2011-04-21 02:01:20 +0200
commitc7073f8b545976719bfdba7b7bbd460d595041d5 (patch)
tree6386c21fa822098c285bbf4358b7df5ba7e96f47 /source3/modules/vfs_default.c
parent0b89ce671250daddc86400ef4e1996c37c126025 (diff)
downloadsamba-c7073f8b545976719bfdba7b7bbd460d595041d5.tar.gz
samba-c7073f8b545976719bfdba7b7bbd460d595041d5.tar.bz2
samba-c7073f8b545976719bfdba7b7bbd460d595041d5.zip
s3-vfs: rename open function to open_fn.
This should finally fix the AIX build and allow to remove AIX specific ifdefs. Guenther Signed-off-by: Jeremy Allison <jra@samba.org> Autobuild-User: Jeremy Allison <jra@samba.org> Autobuild-Date: Thu Apr 21 02:01:20 CEST 2011 on sn-devel-104
Diffstat (limited to 'source3/modules/vfs_default.c')
-rw-r--r--source3/modules/vfs_default.c6
1 files changed, 1 insertions, 5 deletions
diff --git a/source3/modules/vfs_default.c b/source3/modules/vfs_default.c
index 4e993e1666..cf6e24fca0 100644
--- a/source3/modules/vfs_default.c
+++ b/source3/modules/vfs_default.c
@@ -1649,10 +1649,6 @@ static int vfswrap_set_offline(struct vfs_handle_struct *handle,
return -1;
}
-#ifdef AIX
-#undef open /* AIX defines open to be open64 */
-#endif
-
static struct vfs_fn_pointers vfs_default_fns = {
/* Disk operations */
@@ -1680,7 +1676,7 @@ static struct vfs_fn_pointers vfs_default_fns = {
/* File operations */
- .open = vfswrap_open,
+ .open_fn = vfswrap_open,
.create_file = vfswrap_create_file,
.close_fn = vfswrap_close,
.vfs_read = vfswrap_read,