Remove off64_t declarations
authorAndrew Bartlett <abartlet@samba.org>
Tue, 27 Mar 2012 23:03:24 +0000 (10:03 +1100)
committerAndrew Bartlett <abartlet@samba.org>
Thu, 5 Apr 2012 00:39:08 +0000 (02:39 +0200)
source3/modules/vfs_prealloc.c
source3/modules/vfs_readahead.c

index 3293b4ec8e078c24ae8537d48190557da836c4a3..15be7d121bcbd3a1ee663e511945694fb924bbf6 100644 (file)
@@ -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];
index 8e6fd43aae805e3557c167ba6b1e1ecc8ee66665..b48d95faa96224439dc65763501bb6ea6e282c02 100644 (file)
@@ -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 {