build: Fix the build after prototype change.
authorGünther Deschner <gd@samba.org>
Tue, 27 May 2008 22:51:52 +0000 (00:51 +0200)
committerGünther Deschner <gd@samba.org>
Tue, 27 May 2008 22:53:04 +0000 (00:53 +0200)
Guenther
(This used to be commit 68327e577dd12c157b0d7581b38c7a8dc06e08c7)

source3/include/proto.h

index f85b667c84adb4014a3092ee6f4a6b087927fec1..721981eb10a3f7f0032a7a73a82f9b8d88bae089 100644 (file)
@@ -5270,7 +5270,7 @@ void locking_close_file(struct messaging_context *msg_ctx,
 bool locking_init(void);
 bool locking_init_readonly(void);
 bool locking_end(void);
-char *share_mode_str(TALLOC_CTX *ctx, int num, struct share_mode_entry *e);
+char *share_mode_str(TALLOC_CTX *ctx, int num, const struct share_mode_entry *e);
 struct share_mode_lock *get_share_mode_lock(TALLOC_CTX *mem_ctx,
                                            const struct file_id id,
                                            const char *servicepath,