summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorStefan Metzmacher <metze@samba.org>2011-07-22 16:05:54 +0200
committerStefan Metzmacher <metze@samba.org>2011-07-22 17:06:09 +0200
commitb3e0b7328041093a2006de7adda2ec62ddd7deda (patch)
tree31742bd03dff1feaadb995f86893c22e412cdcfc
parenta560b793ca15738c2f09e4a9c17031c6f467ee5f (diff)
downloadsamba-b3e0b7328041093a2006de7adda2ec62ddd7deda.tar.gz
samba-b3e0b7328041093a2006de7adda2ec62ddd7deda.tar.bz2
samba-b3e0b7328041093a2006de7adda2ec62ddd7deda.zip
s3:libsmb: remove const from cli_cm_display()
metze
-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,