diff options
author | Michael Adam <obnox@samba.org> | 2014-01-28 11:52:36 +0100 |
---|---|---|
committer | Stefan Metzmacher <metze@samba.org> | 2014-02-07 16:06:07 +0100 |
commit | 24e434d1aec880d1292d003cbcf6f869e3d35526 (patch) | |
tree | 23a1b55c351ed6c88e52024cb40e4cea42ffbe8f /lib/dbwrap | |
parent | 44c66435bafc786f8a4c10e3652c7de168f642b1 (diff) | |
download | samba-24e434d1aec880d1292d003cbcf6f869e3d35526.tar.gz |
dbwrap: move definition of DBWRAP_LOCK_ORDER_MAX to the private header.
This is only needed internally.
Signed-off-by: Michael Adam <obnox@samba.org>
Reviewed-by: Stefan Metzmacher <metze@samba.org>
Diffstat (limited to 'lib/dbwrap')
-rw-r--r-- | lib/dbwrap/dbwrap.h | 1 | ||||
-rw-r--r-- | lib/dbwrap/dbwrap_private.h | 2 |
2 files changed, 2 insertions, 1 deletions
diff --git a/lib/dbwrap/dbwrap.h b/lib/dbwrap/dbwrap.h index 03cc3f4a7b9..81c4974afb6 100644 --- a/lib/dbwrap/dbwrap.h +++ b/lib/dbwrap/dbwrap.h @@ -31,7 +31,6 @@ enum dbwrap_lock_order { DBWRAP_LOCK_ORDER_2 = 2, DBWRAP_LOCK_ORDER_3 = 3 }; -#define DBWRAP_LOCK_ORDER_MAX DBWRAP_LOCK_ORDER_3 #define DBWRAP_FLAG_NONE 0x0000000000000000ULL #define DBWRAP_FLAG_OPTIMIZE_READONLY_ACCESS 0x0000000000000001ULL diff --git a/lib/dbwrap/dbwrap_private.h b/lib/dbwrap/dbwrap_private.h index da904f00e49..14553bc54d6 100644 --- a/lib/dbwrap/dbwrap_private.h +++ b/lib/dbwrap/dbwrap_private.h @@ -69,5 +69,7 @@ struct db_context { void *stored_callback_private_data; }; +#define DBWRAP_LOCK_ORDER_MAX DBWRAP_LOCK_ORDER_3 + #endif /* __DBWRAP_PRIVATE_H__ */ |