summaryrefslogtreecommitdiff
path: root/source4/ntvfs
diff options
context:
space:
mode:
authorJames Peach <jpeach@samba.org>2006-04-23 23:42:23 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 14:04:14 -0500
commit419e6d1112c4bcb8b09b5f4f7b4da1007a235ca9 (patch)
tree0d152a3e334a9e741a215b60cfd42d372f916e53 /source4/ntvfs
parent073587abac756383a02f07f43f6be2787abf21a5 (diff)
downloadsamba-419e6d1112c4bcb8b09b5f4f7b4da1007a235ca9.tar.gz
samba-419e6d1112c4bcb8b09b5f4f7b4da1007a235ca9.tar.bz2
samba-419e6d1112c4bcb8b09b5f4f7b4da1007a235ca9.zip
r15184: Declare ntvfs_register with a typed ops pointer.
(This used to be commit bf946e6d6d3de1384588a687e15e030f3b1806f0)
Diffstat (limited to 'source4/ntvfs')
-rw-r--r--source4/ntvfs/ntvfs_base.c3
1 files changed, 1 insertions, 2 deletions
diff --git a/source4/ntvfs/ntvfs_base.c b/source4/ntvfs/ntvfs_base.c
index 1705bbef2f..72b3eaaed8 100644
--- a/source4/ntvfs/ntvfs_base.c
+++ b/source4/ntvfs/ntvfs_base.c
@@ -44,9 +44,8 @@ static int num_backends;
The 'type' is used to specify whether this is for a disk, printer or IPC$ share
*/
-_PUBLIC_ NTSTATUS ntvfs_register(const void *_ops)
+_PUBLIC_ NTSTATUS ntvfs_register(const struct ntvfs_ops *ops)
{
- const struct ntvfs_ops *ops = _ops;
struct ntvfs_ops *new_ops;
if (ntvfs_backend_byname(ops->name, ops->type) != NULL) {