diff options
author | Volker Lendecke <vlendec@samba.org> | 2004-11-18 12:19:16 +0000 |
---|---|---|
committer | Gerald (Jerry) Carter <jerry@samba.org> | 2007-10-10 10:53:20 -0500 |
commit | e547308d3ed307a242723076dff9974973fccc97 (patch) | |
tree | 7ac3ec7bfd04b37136c19e8b92c0cf613c8ff8c8 /source/include/vfs.h | |
parent | 84ac54aef2bd56b5c889d3b05b8828aceb8ae00e (diff) | |
download | samba-e547308d3ed307a242723076dff9974973fccc97.tar.gz samba-e547308d3ed307a242723076dff9974973fccc97.tar.xz samba-e547308d3ed307a242723076dff9974973fccc97.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
Diffstat (limited to 'source/include/vfs.h')
-rw-r--r-- | source/include/vfs.h | 4 |
1 files changed, 2 insertions, 2 deletions
diff --git a/source/include/vfs.h b/source/include/vfs.h index babf18ec81f..e8c6ff32d55 100644 --- a/source/include/vfs.h +++ b/source/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; |