From d9f4a8328e851a6dfc2bb064c0fd6805ec54b9a8 Mon Sep 17 00:00:00 2001 From: Andrew Bartlett Date: Tue, 6 Jul 2004 02:54:06 +0000 Subject: r1355: Add const (I missed this when I changed the function prototype earlier) Andrew Bartlett (This used to be commit dbe484a0c2c1ef99b71621208fb3fec68fe4fada) --- source4/ntvfs/ntvfs_base.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source4') 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; -- cgit