summaryrefslogtreecommitdiff
path: root/source3/include
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 13:18:14 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:09 +0200
commit2320b2144fcb1236c082278444e3c6df998e17ec (patch)
tree879bb402bca2d44eba5eb1571b2631c1830e6e72 /source3/include
parent6edd8e95f1ed0ac398c84e4050357097087ae15f (diff)
downloadsamba-2320b2144fcb1236c082278444e3c6df998e17ec.tar.gz
samba-2320b2144fcb1236c082278444e3c6df998e17ec.tar.bz2
samba-2320b2144fcb1236c082278444e3c6df998e17ec.zip
build: Remove SMB_STRUCT_DIRENT define
Diffstat (limited to 'source3/include')
-rw-r--r--source3/include/includes.h8
-rw-r--r--source3/include/vfs.h4
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,