Skip to content

Commit

Permalink
s3:lib fix compiler warnings
Browse files Browse the repository at this point in the history
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’
  • Loading branch information
der-ambi committed May 3, 2012
1 parent d3b4c2c commit 1d069ed
Showing 1 changed file with 6 additions and 0 deletions.
6 changes: 6 additions & 0 deletions source3/include/g_lock.h
Original file line number Diff line number Diff line change
Expand Up @@ -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);
Expand Down

0 comments on commit 1d069ed

Please sign in to comment.