From f6e053202481631b12d75f6a552ee1aa8b355064 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Wed, 28 Mar 2012 13:22:03 +1100 Subject: build: Remove SMB_STRUCT_DIR define --- source3/modules/vfs_netatalk.c | 10 +++++----- 1 file changed, 5 insertions(+), 5 deletions(-) (limited to 'source3/modules/vfs_netatalk.c') diff --git a/source3/modules/vfs_netatalk.c b/source3/modules/vfs_netatalk.c index c4a65e07ff..a4573550fa 100644 --- a/source3/modules/vfs_netatalk.c +++ b/source3/modules/vfs_netatalk.c @@ -153,7 +153,7 @@ static void atalk_rrmdir(TALLOC_CTX *ctx, char *path) { char *dpath; struct dirent *dent = 0; - SMB_STRUCT_DIR *dir; + DIR *dir; if (!path) return; @@ -177,9 +177,9 @@ static void atalk_rrmdir(TALLOC_CTX *ctx, char *path) /* Directory operations */ -static SMB_STRUCT_DIR *atalk_opendir(struct vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr) +static DIR *atalk_opendir(struct vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr) { - SMB_STRUCT_DIR *ret = 0; + DIR *ret = 0; ret = SMB_VFS_NEXT_OPENDIR(handle, fname, mask, attr); @@ -198,9 +198,9 @@ static SMB_STRUCT_DIR *atalk_opendir(struct vfs_handle_struct *handle, const cha return ret; } -static SMB_STRUCT_DIR *atalk_fdopendir(struct vfs_handle_struct *handle, files_struct *fsp, const char *mask, uint32 attr) +static DIR *atalk_fdopendir(struct vfs_handle_struct *handle, files_struct *fsp, const char *mask, uint32 attr) { - SMB_STRUCT_DIR *ret = 0; + DIR *ret = 0; ret = SMB_VFS_NEXT_FDOPENDIR(handle, fsp, mask, attr); -- cgit