r15184: Declare ntvfs_register with a typed ops pointer.
authorJames Peach <jpeach@samba.org>
Sun, 23 Apr 2006 23:42:23 +0000 (23:42 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 19:04:14 +0000 (14:04 -0500)
(This used to be commit bf946e6d6d3de1384588a687e15e030f3b1806f0)

source4/ntvfs/ntvfs_base.c

index 1705bbef2ffc9aee76b5e535c30ffe8baf04a7c5..72b3eaaed8e4032cdaf901d2c9340b38f57d34ef 100644 (file)
@@ -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) {