1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-23 09:57:40 +03:00

locking: Move br_off typedef to where it's used

Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
This commit is contained in:
Volker Lendecke 2020-04-27 11:49:55 +02:00 committed by Ralph Boehme
parent 489023e481
commit e96f6b0f88
2 changed files with 1 additions and 3 deletions

View File

@ -176,9 +176,6 @@ typedef sig_atomic_t volatile SIG_ATOMIC_T;
#define BIG_UINT(p, ofs) BVAL(p, ofs)
#define IVAL2_TO_SMB_BIG_UINT(p, ofs) BVAL(p, ofs)
/* this should really be a 64 bit type if possible */
typedef uint64_t br_off;
/*
* Set the define that tells us if we can do 64 bit
* NT SMB calls.

View File

@ -47,6 +47,7 @@ struct files_struct;
#include "lib/file_id.h"
struct byte_range_lock;
typedef uint64_t br_off;
/* Internal structure in brlock.tdb.
The data in brlock records is an unsorted linear array of these