From 1d069ed80696452b1a78298d8aff22e6c22e2c3c Mon Sep 17 00:00:00 2001 From: Christian Ambach Date: Thu, 3 May 2012 18:30:38 +0200 Subject: s3:lib fix compiler warnings MIME-Version: 1.0 Content-Type: text/plain; charset=UTF-8 Content-Transfer-Encoding: 8bit g_lock.c:182:20: warning: no previous prototype for ‘g_lock_lock_send’ g_lock.c:270:10: warning: no previous prototype for ‘g_lock_lock_recv’ --- source3/include/g_lock.h | 6 ++++++ 1 file changed, 6 insertions(+) (limited to 'source3') diff --git a/source3/include/g_lock.h b/source3/include/g_lock.h index 1ac8418922..004c452fd0 100644 --- a/source3/include/g_lock.h +++ b/source3/include/g_lock.h @@ -32,6 +32,12 @@ enum g_lock_type { struct g_lock_ctx *g_lock_ctx_init(TALLOC_CTX *mem_ctx, struct messaging_context *msg); +struct tevent_req *g_lock_lock_send(TALLOC_CTX *mem_ctx, + struct tevent_context *ev, + struct g_lock_ctx *ctx, + const char *name, + enum g_lock_type type); +NTSTATUS g_lock_lock_recv(struct tevent_req *req); NTSTATUS g_lock_lock(struct g_lock_ctx *ctx, const char *name, enum g_lock_type lock_type, struct timeval timeout); NTSTATUS g_lock_unlock(struct g_lock_ctx *ctx, const char *name); -- cgit