From 9401dca8a6cf5d4ee942091447f66d3d3b8db58a Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Thu, 18 Nov 2004 12:19:16 +0000 Subject: r3844: Attempt to get the build farm in line. Some systems seem to have defined rewinddir as a macro and don't like the construct to call a function pointer called rewinddir. Work around by renaming the function pointer... Volker (This used to be commit e547308d3ed307a242723076dff9974973fccc97) --- source3/include/vfs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/include/vfs.h') diff --git a/source3/include/vfs.h b/source3/include/vfs.h index babf18ec81..e8c6ff32d5 100644 --- a/source3/include/vfs.h +++ b/source3/include/vfs.h @@ -216,7 +216,7 @@ struct vfs_ops { SMB_STRUCT_DIRENT *(*readdir)(struct vfs_handle_struct *handle, struct connection_struct *conn, DIR *dirp); void (*seekdir)(struct vfs_handle_struct *handle, struct connection_struct *conn, DIR *dirp, long offset); long (*telldir)(struct vfs_handle_struct *handle, struct connection_struct *conn, DIR *dirp); - void (*rewinddir)(struct vfs_handle_struct *handle, struct connection_struct *conn, DIR *dirp); + void (*rewind_dir)(struct vfs_handle_struct *handle, struct connection_struct *conn, DIR *dirp); int (*mkdir)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *path, mode_t mode); int (*rmdir)(struct vfs_handle_struct *handle, struct connection_struct *conn, const char *path); int (*closedir)(struct vfs_handle_struct *handle, struct connection_struct *conn, DIR *dir); @@ -319,7 +319,7 @@ struct vfs_ops { struct vfs_handle_struct *readdir; struct vfs_handle_struct *seekdir; struct vfs_handle_struct *telldir; - struct vfs_handle_struct *rewinddir; + struct vfs_handle_struct *rewind_dir; struct vfs_handle_struct *mkdir; struct vfs_handle_struct *rmdir; struct vfs_handle_struct *closedir; -- cgit