$NetBSD: patch-am,v 1.7 2006/04/01 04:55:35 jlam Exp $ --- sam/idmap_rid.c.orig 2006-01-24 18:46:38.000000000 -0500 +++ sam/idmap_rid.c @@ -24,8 +24,6 @@ #undef DBGC_CLASS #define DBGC_CLASS DBGC_IDMAP -NTSTATUS init_module(void); - struct dom_entry { fstring name; fstring sid; @@ -553,7 +551,7 @@ static struct idmap_methods rid_methods rid_idmap_status }; -NTSTATUS init_module(void) +NTSTATUS idmap_rid_init(void) { return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "rid", &rid_methods); }