summaryrefslogtreecommitdiffstats
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2012-03-28 10:03:24 +1100
committerAndrew Bartlett <abartlet@samba.org>2012-04-05 02:39:08 +0200
commit214a668ff3b189f6b55bd97a12177baf46bd1585 (patch)
tree694ad6174803f5a7720b42811e387a5dcc3f880f
parent694d81a7b50657ed7599c90bc666ce47b6d8b9ec (diff)
downloadsamba-214a668ff3b189f6b55bd97a12177baf46bd1585.tar.gz
samba-214a668ff3b189f6b55bd97a12177baf46bd1585.tar.xz
samba-214a668ff3b189f6b55bd97a12177baf46bd1585.zip
Remove off64_t declarations
-rw-r--r--source3/modules/vfs_prealloc.c2
-rw-r--r--source3/modules/vfs_readahead.c2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/modules/vfs_prealloc.c b/source3/modules/vfs_prealloc.c
index 3293b4ec8e..15be7d121b 100644
--- a/source3/modules/vfs_prealloc.c
+++ b/source3/modules/vfs_prealloc.c
@@ -122,7 +122,7 @@ static int prealloc_open(vfs_handle_struct* handle,
mode_t mode)
{
int fd;
- off64_t size = 0;
+ off_t size = 0;
const char * dot;
char fext[10];
diff --git a/source3/modules/vfs_readahead.c b/source3/modules/vfs_readahead.c
index 8e6fd43aae..b48d95faa9 100644
--- a/source3/modules/vfs_readahead.c
+++ b/source3/modules/vfs_readahead.c
@@ -20,7 +20,7 @@
#include "smbd/smbd.h"
#if defined(HAVE_LINUX_READAHEAD) && ! defined(HAVE_READAHEAD_DECL)
-ssize_t readahead(int fd, off64_t offset, size_t count);
+ssize_t readahead(int fd, off_t offset, size_t count);
#endif
struct readahead_data {