summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorAndrew Bartlett <abartlet@samba.org>2004-07-06 02:54:06 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:56:52 -0500
commitd9f4a8328e851a6dfc2bb064c0fd6805ec54b9a8 (patch)
tree97176a0aab8347af86f2fce7fcdab8230571f62a /source4/ntvfs
parent25f396edfbaa313d63d775a4621245236750ec29 (diff)
downloadsamba-d9f4a8328e851a6dfc2bb064c0fd6805ec54b9a8.tar.gz
samba-d9f4a8328e851a6dfc2bb064c0fd6805ec54b9a8.tar.bz2
samba-d9f4a8328e851a6dfc2bb064c0fd6805ec54b9a8.zip
r1355: Add const (I missed this when I changed the function prototype earlier)
Andrew Bartlett (This used to be commit dbe484a0c2c1ef99b71621208fb3fec68fe4fada)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs_base.c2
1 files changed, 1 insertions, 1 deletions
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c
index f94dacb57f..923a131d5e 100644
--- a/source4/ntvfs/ntvfs_base.c
+++ b/source4/ntvfs/ntvfs_base.c
@@ -42,7 +42,7 @@ static int num_backends;
The 'type' is used to specify whether this is for a disk, printer or IPC$ share
*/
-static NTSTATUS ntvfs_register(void *_ops)
+static NTSTATUS ntvfs_register(const void *_ops)
{
const struct ntvfs_ops *ops = _ops;
struct ntvfs_ops *new_ops;