summaryrefslogtreecommitdiff
path: root/source3/modules
diff options
context:
space:
mode:
authorGünther Deschner <gd@samba.org>2011-04-14 00:52:45 +0200
committerGünther Deschner <gd@samba.org>2011-04-14 12:12:47 +0200
commitdaea6a4b8cf48c96718d6f757d01c430d1811446 (patch)
treef10ec0a4fc63c1d8281d376c23dd68cc29c51165 /source3/modules
parent15d6c7070770b3146c510996ab24afbdf8034ee8 (diff)
downloadsamba-daea6a4b8cf48c96718d6f757d01c430d1811446.tar.gz
samba-daea6a4b8cf48c96718d6f757d01c430d1811446.tar.bz2
samba-daea6a4b8cf48c96718d6f757d01c430d1811446.zip
s3-includes: move readahead prototype to its only user.
Guenther
Diffstat (limited to 'source3/modules')
-rw-r--r--source3/modules/vfs_readahead.c4
1 files changed, 4 insertions, 0 deletions
diff --git a/source3/modules/vfs_readahead.c b/source3/modules/vfs_readahead.c
index b9dbece94e..22f7f70355 100644
--- a/source3/modules/vfs_readahead.c
+++ b/source3/modules/vfs_readahead.c
@@ -19,6 +19,10 @@
#include "system/filesys.h"
#include "smbd/smbd.h"
+#if defined(HAVE_LINUX_READAHEAD) && ! defined(HAVE_READAHEAD_DECL)
+ssize_t readahead(int fd, off64_t offset, size_t count);
+#endif
+
struct readahead_data {
SMB_OFF_T off_bound;
SMB_OFF_T len;