From daea6a4b8cf48c96718d6f757d01c430d1811446 Mon Sep 17 00:00:00 2001 From: Günther Deschner Date: Thu, 14 Apr 2011 00:52:45 +0200 Subject: s3-includes: move readahead prototype to its only user. Guenther --- source3/modules/vfs_readahead.c | 4 ++++ 1 file changed, 4 insertions(+) (limited to 'source3/modules') 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; -- cgit