summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
-rw-r--r--source3/libsmb/clidfs.c2
-rw-r--r--source3/libsmb/proto.h2
2 files changed, 2 insertions, 2 deletions
diff --git a/source3/libsmb/clidfs.c b/source3/libsmb/clidfs.c
index d677f9e0ac..2b0c13c171 100644
--- a/source3/libsmb/clidfs.c
+++ b/source3/libsmb/clidfs.c
@@ -394,7 +394,7 @@ NTSTATUS cli_cm_open(TALLOC_CTX *ctx,
/****************************************************************************
****************************************************************************/
-void cli_cm_display(const struct cli_state *cli)
+void cli_cm_display(struct cli_state *cli)
{
int i;
diff --git a/source3/libsmb/proto.h b/source3/libsmb/proto.h
index 9e60fe9a94..c067fe1fbf 100644
--- a/source3/libsmb/proto.h
+++ b/source3/libsmb/proto.h
@@ -124,7 +124,7 @@ NTSTATUS cli_cm_open(TALLOC_CTX *ctx,
int port,
int name_type,
struct cli_state **pcli);
-void cli_cm_display(const struct cli_state *c);
+void cli_cm_display(struct cli_state *c);
struct client_dfs_referral;
NTSTATUS cli_dfs_get_referral(TALLOC_CTX *ctx,
struct cli_state *cli,