function() is *NOT* a valid C proto, but C++ only.
authorJeremy Allison <jra@samba.org>
Thu, 29 May 2003 21:30:48 +0000 (21:30 +0000)
committerJeremy Allison <jra@samba.org>
Thu, 29 May 2003 21:30:48 +0000 (21:30 +0000)
The correct prototype in C is function(void).
Please remember this !
Jeremy.

source/sam/idmap_tdb.c

index 373fb66a1bd771951797e6689c1667d00882710c..3098184c829d64fce976a4e56c11d1274a4ff7a0 100644 (file)
@@ -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);
 }