summaryrefslogtreecommitdiff
path: root/source3/include/vfs.h
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2004-11-18 12:19:16 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 10:53:20 -0500
commit9401dca8a6cf5d4ee942091447f66d3d3b8db58a (patch)
treed4c4a6876aa31f75737d15262d64aa48cd3733a8 /source3/include/vfs.h
parent24d3605d99513fd0ce11671a40ad3fca8a1caaf5 (diff)
downloadsamba-9401dca8a6cf5d4ee942091447f66d3d3b8db58a.tar.gz
samba-9401dca8a6cf5d4ee942091447f66d3d3b8db58a.tar.bz2
samba-9401dca8a6cf5d4ee942091447f66d3d3b8db58a.zip
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)
Diffstat (limited to 'source3/include/vfs.h')
-rw-r--r--source3/include/vfs.h4
1 files changed, 2 insertions, 2 deletions
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;