summaryrefslogtreecommitdiffstats
path: root/source3/sam
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>2003-05-29 21:30:48 +0000
committerJeremy Allison <jra@samba.org>2003-05-29 21:30:48 +0000
commitee3600361f24d7df7e1a68d5f03a56903d0b42fa (patch)
tree759c8ceb808b7c5ab51d58fa34920e5b0b82ceea /source3/sam
parentd4b7081715a29410d5110387186923c03901e350 (diff)
downloadsamba-ee3600361f24d7df7e1a68d5f03a56903d0b42fa.tar.gz
samba-ee3600361f24d7df7e1a68d5f03a56903d0b42fa.tar.xz
samba-ee3600361f24d7df7e1a68d5f03a56903d0b42fa.zip
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)
Diffstat (limited to 'source3/sam')
-rw-r--r--source3/sam/idmap_tdb.c2
1 files changed, 1 insertions, 1 deletions
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);
}