summaryrefslogtreecommitdiff
path: root/source3/smbd/proto.h
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2012-02-24 17:12:52 -0800
committerJeremy Allison <jra@samba.org>2012-02-24 17:12:52 -0800
commite54cf1538752fcb38fd9ce84345520c4d0001474 (patch)
treebb8825cbf338960fa11abb701d65bfd2f6bd3d24 /source3/smbd/proto.h
parentc9ef08772214f1eab545b7ca5e0cb5bdbf8dd6ce (diff)
downloadsamba-e54cf1538752fcb38fd9ce84345520c4d0001474.tar.gz
samba-e54cf1538752fcb38fd9ce84345520c4d0001474.tar.bz2
samba-e54cf1538752fcb38fd9ce84345520c4d0001474.zip
Make dptr_path() and dptr_wcard() const.
Diffstat (limited to 'source3/smbd/proto.h')
-rw-r--r--source3/smbd/proto.h4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/smbd/proto.h b/source3/smbd/proto.h
index 8124ee9de8..4ec91a11db 100644
--- a/source3/smbd/proto.h
+++ b/source3/smbd/proto.h
@@ -189,8 +189,8 @@ bool make_dir_struct(TALLOC_CTX *ctx,
time_t date,
bool uc);
bool init_dptrs(struct smbd_server_connection *sconn);
-char *dptr_path(struct smbd_server_connection *sconn, int key);
-char *dptr_wcard(struct smbd_server_connection *sconn, int key);
+const char *dptr_path(struct smbd_server_connection *sconn, int key);
+const char *dptr_wcard(struct smbd_server_connection *sconn, int key);
uint16 dptr_attr(struct smbd_server_connection *sconn, int key);
void dptr_close(struct smbd_server_connection *sconn, int *key);
void dptr_closecnum(connection_struct *conn);