From 6aa12fcb30c8f7246fd0215b1d808191c0d87668 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Thu, 5 Apr 2012 14:53:08 +1000 Subject: build: Remove SMB_OFF_T, replace with off_t Now that we always require a 64 bit off_t, we no longer need SMB_OFF_T. Andrew Bartlett Autobuild-User: Andrew Bartlett Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104 --- source3/modules/onefs.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/modules/onefs.h') diff --git a/source3/modules/onefs.h b/source3/modules/onefs.h index 1f72a9f207..b12a67e367 100644 --- a/source3/modules/onefs.h +++ b/source3/modules/onefs.h @@ -163,10 +163,10 @@ int onefs_sys_create_file(connection_struct *conn, int *granted_oplock); ssize_t onefs_sys_sendfile(connection_struct *conn, int tofd, int fromfd, - const DATA_BLOB *header, SMB_OFF_T offset, + const DATA_BLOB *header, off_t offset, size_t count); -ssize_t onefs_sys_recvfile(int fromfd, int tofd, SMB_OFF_T offset, +ssize_t onefs_sys_recvfile(int fromfd, int tofd, off_t offset, size_t count); void init_stat_ex_from_onefs_stat(struct stat_ex *dst, const struct stat *src); -- cgit