From e54cf1538752fcb38fd9ce84345520c4d0001474 Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Fri, 24 Feb 2012 17:12:52 -0800 Subject: Make dptr_path() and dptr_wcard() const. --- source3/smbd/proto.h | 4 ++-- 1 file changed, 2 insertions(+), 2 deletions(-) (limited to 'source3/smbd/proto.h') 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); -- cgit