diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-03-28 13:22:03 +1100 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 02:39:09 +0200 |
commit | f6e053202481631b12d75f6a552ee1aa8b355064 (patch) | |
tree | f029e300d5005e87774a3d1c6390423d0c09f9fd /source3/modules/vfs_time_audit.c | |
parent | 2320b2144fcb1236c082278444e3c6df998e17ec (diff) | |
download | samba-f6e053202481631b12d75f6a552ee1aa8b355064.tar.gz samba-f6e053202481631b12d75f6a552ee1aa8b355064.tar.bz2 samba-f6e053202481631b12d75f6a552ee1aa8b355064.zip |
build: Remove SMB_STRUCT_DIR define
Diffstat (limited to 'source3/modules/vfs_time_audit.c')
-rw-r--r-- | source3/modules/vfs_time_audit.c | 20 |
1 files changed, 10 insertions, 10 deletions
diff --git a/source3/modules/vfs_time_audit.c b/source3/modules/vfs_time_audit.c index 76e917c15d..035f2df406 100644 --- a/source3/modules/vfs_time_audit.c +++ b/source3/modules/vfs_time_audit.c @@ -203,11 +203,11 @@ static uint32_t smb_time_audit_fs_capabilities(struct vfs_handle_struct *handle, return result; } -static SMB_STRUCT_DIR *smb_time_audit_opendir(vfs_handle_struct *handle, +static DIR *smb_time_audit_opendir(vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attr) { - SMB_STRUCT_DIR *result; + DIR *result; struct timespec ts1,ts2; double timediff; @@ -223,11 +223,11 @@ static SMB_STRUCT_DIR *smb_time_audit_opendir(vfs_handle_struct *handle, return result; } -static SMB_STRUCT_DIR *smb_time_audit_fdopendir(vfs_handle_struct *handle, +static DIR *smb_time_audit_fdopendir(vfs_handle_struct *handle, files_struct *fsp, const char *mask, uint32 attr) { - SMB_STRUCT_DIR *result; + DIR *result; struct timespec ts1,ts2; double timediff; @@ -244,7 +244,7 @@ static SMB_STRUCT_DIR *smb_time_audit_fdopendir(vfs_handle_struct *handle, } static struct dirent *smb_time_audit_readdir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp, + DIR *dirp, SMB_STRUCT_STAT *sbuf) { struct dirent *result; @@ -264,7 +264,7 @@ static struct dirent *smb_time_audit_readdir(vfs_handle_struct *handle, } static void smb_time_audit_seekdir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp, long offset) + DIR *dirp, long offset) { struct timespec ts1,ts2; double timediff; @@ -282,7 +282,7 @@ static void smb_time_audit_seekdir(vfs_handle_struct *handle, } static long smb_time_audit_telldir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp) + DIR *dirp) { long result; struct timespec ts1,ts2; @@ -301,7 +301,7 @@ static long smb_time_audit_telldir(vfs_handle_struct *handle, } static void smb_time_audit_rewinddir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp) + DIR *dirp) { struct timespec ts1,ts2; double timediff; @@ -357,7 +357,7 @@ static int smb_time_audit_rmdir(vfs_handle_struct *handle, } static int smb_time_audit_closedir(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp) + DIR *dirp) { int result; struct timespec ts1,ts2; @@ -376,7 +376,7 @@ static int smb_time_audit_closedir(vfs_handle_struct *handle, } static void smb_time_audit_init_search_op(vfs_handle_struct *handle, - SMB_STRUCT_DIR *dirp) + DIR *dirp) { struct timespec ts1,ts2; double timediff; |