diff options
author | Christian Ambach <ambi@samba.org> | 2012-05-03 18:30:38 +0200 |
---|---|---|
committer | Christian Ambach <ambi@samba.org> | 2012-05-03 21:34:05 +0200 |
commit | 1d069ed80696452b1a78298d8aff22e6c22e2c3c (patch) | |
tree | 01bfebffd7508a76dc799f0642724e775327fdfe /source3/include | |
parent | d3b4c2c7714091a588f6aeaf784380cea54e73cf (diff) | |
download | samba-1d069ed80696452b1a78298d8aff22e6c22e2c3c.tar.gz samba-1d069ed80696452b1a78298d8aff22e6c22e2c3c.tar.bz2 samba-1d069ed80696452b1a78298d8aff22e6c22e2c3c.zip |
s3:lib fix compiler warnings
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’
Diffstat (limited to 'source3/include')
-rw-r--r-- | source3/include/g_lock.h | 6 |
1 files changed, 6 insertions, 0 deletions
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); |