diff options
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/includes.h | 8 | ||||
-rw-r--r-- | source3/include/vfs.h | 4 |
2 files changed, 2 insertions, 10 deletions
diff --git a/source3/include/includes.h b/source3/include/includes.h index ee7bb1cb7c..ffdc1d28f3 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -368,14 +368,6 @@ struct stat_ex { typedef struct stat_ex SMB_STRUCT_STAT; /* - * Type for dirent structure. - */ - -#ifndef SMB_STRUCT_DIRENT -# define SMB_STRUCT_DIRENT struct dirent -#endif - -/* * Type for DIR structure. */ diff --git a/source3/include/vfs.h b/source3/include/vfs.h index 212da7e514..023f5b177e 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -206,7 +206,7 @@ struct vfs_fn_pointers { SMB_STRUCT_DIR *(*opendir_fn)(struct vfs_handle_struct *handle, const char *fname, const char *mask, uint32 attributes); SMB_STRUCT_DIR *(*fdopendir_fn)(struct vfs_handle_struct *handle, files_struct *fsp, const char *mask, uint32 attributes); - SMB_STRUCT_DIRENT *(*readdir_fn)(struct vfs_handle_struct *handle, + struct dirent *(*readdir_fn)(struct vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp, SMB_STRUCT_STAT *sbuf); void (*seekdir_fn)(struct vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp, long offset); @@ -560,7 +560,7 @@ SMB_STRUCT_DIR *smb_vfs_call_fdopendir(struct vfs_handle_struct *handle, struct files_struct *fsp, const char *mask, uint32 attributes); -SMB_STRUCT_DIRENT *smb_vfs_call_readdir(struct vfs_handle_struct *handle, +struct dirent *smb_vfs_call_readdir(struct vfs_handle_struct *handle, SMB_STRUCT_DIR *dirp, SMB_STRUCT_STAT *sbuf); void smb_vfs_call_seekdir(struct vfs_handle_struct *handle, |