From 97ba1ee2f94e5529839a1c0852f50544dbbb83cf Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Tue, 19 Nov 2019 15:31:57 +0100 Subject: [PATCH] lib: Make struct g_lock_rec private to g_lock.c This is no longer exposed in the API Signed-off-by: Volker Lendecke Reviewed-by: Jeremy Allison --- source3/include/g_lock.h | 5 ----- source3/lib/g_lock.c | 5 +++++ 2 files changed, 5 insertions(+), 5 deletions(-) diff --git a/source3/include/g_lock.h b/source3/include/g_lock.h index 7fb424c13fc..5280a324f92 100644 --- a/source3/include/g_lock.h +++ b/source3/include/g_lock.h @@ -30,11 +30,6 @@ enum g_lock_type { G_LOCK_WRITE = 1, }; -struct g_lock_rec { - enum g_lock_type lock_type; - struct server_id pid; -}; - struct g_lock_ctx *g_lock_ctx_init(TALLOC_CTX *mem_ctx, struct messaging_context *msg); diff --git a/source3/lib/g_lock.c b/source3/lib/g_lock.c index bfa659cde71..d2ff6796628 100644 --- a/source3/lib/g_lock.c +++ b/source3/lib/g_lock.c @@ -38,6 +38,11 @@ struct g_lock_ctx { struct messaging_context *msg; }; +struct g_lock_rec { + enum g_lock_type lock_type; + struct server_id pid; +}; + /* * The "g_lock.tdb" file contains records, indexed by the 0-terminated * lockname. The record contains an array of "struct g_lock_rec" -- 2.11.4.GIT