From ee3600361f24d7df7e1a68d5f03a56903d0b42fa Mon Sep 17 00:00:00 2001 From: Jeremy Allison Date: Thu, 29 May 2003 21:30:48 +0000 Subject: function() is *NOT* a valid C proto, but C++ only. The correct prototype in C is function(void). Please remember this ! Jeremy. (This used to be commit b6b844a1a23532927b1177b652191ddfa92437e0) --- source3/sam/idmap_tdb.c | 2 +- 1 file changed, 1 insertion(+), 1 deletion(-) (limited to 'source3') diff --git a/source3/sam/idmap_tdb.c b/source3/sam/idmap_tdb.c index 373fb66a1b..3098184c82 100644 --- a/source3/sam/idmap_tdb.c +++ b/source3/sam/idmap_tdb.c @@ -435,7 +435,7 @@ static struct idmap_methods db_methods = { }; -NTSTATUS idmap_tdb_init() +NTSTATUS idmap_tdb_init(void) { return smb_register_idmap(SMB_IDMAP_INTERFACE_VERSION, "tdb", &db_methods); } -- cgit