From 419e6d1112c4bcb8b09b5f4f7b4da1007a235ca9 Mon Sep 17 00:00:00 2001 From: James Peach Date: Sun, 23 Apr 2006 23:42:23 +0000 Subject: r15184: Declare ntvfs_register with a typed ops pointer. (This used to be commit bf946e6d6d3de1384588a687e15e030f3b1806f0) --- source4/ntvfs/ntvfs_base.c | 3 +-- 1 file changed, 1 insertion(+), 2 deletions(-) (limited to 'source4') 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) { -- cgit