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_full_audit.c | 20 ++++++++++---------- 1 file changed, 10 insertions(+), 10 deletions(-) (limited to 'source3/modules/vfs_full_audit.c') diff --git a/source3/modules/vfs_full_audit.c b/source3/modules/vfs_full_audit.c index 7997c2fab7..34c7a848e6 100644 --- a/source3/modules/vfs_full_audit.c +++ b/source3/modules/vfs_full_audit.c @@ -735,10 +735,10 @@ static uint32_t smb_full_audit_fs_capabilities(struct vfs_handle_struct *handle, return result; } -static SMB_STRUCT_DIR *smb_full_audit_opendir(vfs_handle_struct *handle, +static DIR *smb_full_audit_opendir(vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr) { - SMB_STRUCT_DIR *result; + DIR *result; result = SMB_VFS_NEXT_OPENDIR(handle, fname, mask, attr); @@ -747,10 +747,10 @@ static SMB_STRUCT_DIR *smb_full_audit_opendir(vfs_handle_struct *handle, return result; } -static SMB_STRUCT_DIR *smb_full_audit_fdopendir(vfs_handle_struct *handle, +static DIR *smb_full_audit_fdopendir(vfs_handle_struct *handle, files_struct *fsp, const char *mask, uint32 attr) { - SMB_STRUCT_DIR *result; + DIR *result; result = SMB_VFS_NEXT_FDOPENDIR(handle, fsp, mask, attr); @@ -761,7 +761,7 @@ static SMB_STRUCT_DIR *smb_full_audit_fdopendir(vfs_handle_struct *handle, } static struct dirent *smb_full_audit_readdir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp, SMB_STRUCT_STAT *sbuf) + DIR *dirp, SMB_STRUCT_STAT *sbuf) { struct dirent *result; @@ -776,7 +776,7 @@ static struct dirent *smb_full_audit_readdir(vfs_handle_struct *handle, } static void smb_full_audit_seekdir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp, long offset) + DIR *dirp, long offset) { SMB_VFS_NEXT_SEEKDIR(handle, dirp, offset); @@ -785,7 +785,7 @@ static void smb_full_audit_seekdir(vfs_handle_struct *handle, } static long smb_full_audit_telldir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp) + DIR *dirp) { long result; @@ -797,7 +797,7 @@ static long smb_full_audit_telldir(vfs_handle_struct *handle, } static void smb_full_audit_rewinddir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp) + DIR *dirp) { SMB_VFS_NEXT_REWINDDIR(handle, dirp); @@ -830,7 +830,7 @@ static int smb_full_audit_rmdir(vfs_handle_struct *handle, } static int smb_full_audit_closedir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp) + DIR *dirp) { int result; @@ -842,7 +842,7 @@ static int smb_full_audit_closedir(vfs_handle_struct *handle, } static void smb_full_audit_init_search_op(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp) + DIR *dirp) { SMB_VFS_NEXT_INIT_SEARCH_OP(handle, dirp); -- cgit