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/libsmb/libsmb_stat.c | 6 +++--- 1 file changed, 3 insertions(+), 3 deletions(-) (limited to 'source3/libsmb/libsmb_stat.c') diff --git a/source3/libsmb/libsmb_stat.c b/source3/libsmb/libsmb_stat.c index 30b9291903..2a08b30d70 100644 --- a/source3/libsmb/libsmb_stat.c +++ b/source3/libsmb/libsmb_stat.c @@ -54,7 +54,7 @@ static int setup_stat(SMBCCTX *context, struct stat *st, const char *fname, - SMB_OFF_T size, + off_t size, int mode) { TALLOC_CTX *frame = talloc_stackframe(); @@ -118,7 +118,7 @@ SMBC_stat_ctx(SMBCCTX *context, struct timespec write_time_ts; struct timespec access_time_ts; struct timespec change_time_ts; - SMB_OFF_T size = 0; + off_t size = 0; uint16 mode = 0; SMB_INO_T ino = 0; TALLOC_CTX *frame = talloc_stackframe(); @@ -204,7 +204,7 @@ SMBC_fstat_ctx(SMBCCTX *context, struct timespec change_time_ts; struct timespec access_time_ts; struct timespec write_time_ts; - SMB_OFF_T size; + off_t size; uint16 mode; char *server = NULL; char *share = NULL; -- cgit