svn commit: samba r15184 - in branches/SAMBA_4_0/source/ntvfs: .
jpeach at samba.org
jpeach at samba.org
Sun Apr 23 23:42:24 GMT 2006
Author: jpeach
Date: 2006-04-23 23:42:23 +0000 (Sun, 23 Apr 2006)
New Revision: 15184
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=15184
Log:
Declare ntvfs_register with a typed ops pointer.
Modified:
branches/SAMBA_4_0/source/ntvfs/ntvfs_base.c
Changeset:
Modified: branches/SAMBA_4_0/source/ntvfs/ntvfs_base.c
===================================================================
--- branches/SAMBA_4_0/source/ntvfs/ntvfs_base.c 2006-04-23 23:40:53 UTC (rev 15183)
+++ branches/SAMBA_4_0/source/ntvfs/ntvfs_base.c 2006-04-23 23:42:23 UTC (rev 15184)
@@ -44,9 +44,8 @@
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) {
More information about the samba-cvs
mailing list