]> git.ipfire.org Git - thirdparty/samba.git/commitdiff
locking: Move br_off typedef to where it's used
authorVolker Lendecke <vl@samba.org>
Mon, 27 Apr 2020 09:49:55 +0000 (11:49 +0200)
committerRalph Boehme <slow@samba.org>
Tue, 5 May 2020 11:48:38 +0000 (11:48 +0000)
Signed-off-by: Volker Lendecke <vl@samba.org>
Reviewed-by: Ralph Boehme <slow@samba.org>
source3/include/includes.h
source3/include/locking.h

index 6389e7be3c029d7d5340e6e2fde581b8c950936b..8fa65cc312231d145615e59c389c074ece816069 100644 (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.
index 0175db2dd473c82a2ef1dd6a2d58b2d0afda0eef..1aad6626f34c73efed2e13037efc24e0ae2164d4 100644 (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