From e96f6b0f8863ae45fac7475793cd80e673df7bb4 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Mon, 27 Apr 2020 11:49:55 +0200 Subject: [PATCH] locking: Move br_off typedef to where it's used Signed-off-by: Volker Lendecke Reviewed-by: Ralph Boehme --- source3/include/includes.h | 3 --- source3/include/locking.h | 1 + 2 files changed, 1 insertion(+), 3 deletions(-) diff --git a/source3/include/includes.h b/source3/include/includes.h index 6389e7be3c0..8fa65cc3122 100644 --- a/source3/include/includes.h +++ b/source3/include/includes.h @@ -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. diff --git a/source3/include/locking.h b/source3/include/locking.h index 0175db2dd47..1aad6626f34 100644 --- a/source3/include/locking.h +++ b/source3/include/locking.h @@ -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 -- 2.47.3