summaryrefslogtreecommitdiff
path: root/net/samba/patches/patch-am
blob: 594074fe17fc58fbf3e1b76982534654743debf5 (plain)
1
2
3
4
5
6
7
8
9
10
11
12
13
14
15
16
17
18
19
20
21
22
$NetBSD: patch-am,v 1.6 2006/01/02 22:33:36 jlam Exp $

--- sam/idmap_rid.c.orig	2005-10-17 22:45:04.000000000 -0400
+++ 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, "idmap_rid", &rid_methods);
 	return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "rid", &rid_methods);