diff options
author | Andrew Bartlett <abartlet@samba.org> | 2012-04-05 14:53:08 +1000 |
---|---|---|
committer | Andrew Bartlett <abartlet@samba.org> | 2012-04-06 01:47:43 +0200 |
commit | 6aa12fcb30c8f7246fd0215b1d808191c0d87668 (patch) | |
tree | 92eb805ea2ed03b1e42f6ce55ca26a65a92761fb /source3/include/smb.h | |
parent | 48166468fe3ca515dae3431bbe674809489f743c (diff) | |
download | samba-6aa12fcb30c8f7246fd0215b1d808191c0d87668.tar.gz samba-6aa12fcb30c8f7246fd0215b1d808191c0d87668.tar.bz2 samba-6aa12fcb30c8f7246fd0215b1d808191c0d87668.zip |
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 <abartlet@samba.org>
Autobuild-Date: Fri Apr 6 01:47:43 CEST 2012 on sn-devel-104
Diffstat (limited to 'source3/include/smb.h')
-rw-r--r-- | source3/include/smb.h | 10 |
1 files changed, 5 insertions, 5 deletions
diff --git a/source3/include/smb.h b/source3/include/smb.h index ddf3227336..758ad9959d 100644 --- a/source3/include/smb.h +++ b/source3/include/smb.h @@ -128,8 +128,8 @@ typedef union unid_t { #include "librpc/gen_ndr/security.h" typedef struct write_cache { - SMB_OFF_T file_size; - SMB_OFF_T offset; + off_t file_size; + off_t offset; size_t alloc_size; size_t data_size; char *data; @@ -139,7 +139,7 @@ struct fd_handle { size_t ref_count; int fd; uint64_t position_information; - SMB_OFF_T pos; + off_t pos; uint32 private_options; /* NT Create options, but we only look at * NTCREATEX_OPTIONS_PRIVATE_DENY_DOS and * NTCREATEX_OPTIONS_PRIVATE_DENY_FCB and @@ -340,8 +340,8 @@ struct trans_state { */ struct stream_struct { - SMB_OFF_T size; - SMB_OFF_T alloc_size; + off_t size; + off_t alloc_size; char *name; }; |