diff options
author | Jeremy Allison <jra@samba.org> | 2003-05-29 21:30:48 +0000 |
---|---|---|
committer | Jeremy Allison <jra@samba.org> | 2003-05-29 21:30:48 +0000 |
commit | ee3600361f24d7df7e1a68d5f03a56903d0b42fa (patch) | |
tree | 759c8ceb808b7c5ab51d58fa34920e5b0b82ceea /source3 | |
parent | d4b7081715a29410d5110387186923c03901e350 (diff) | |
download | samba-ee3600361f24d7df7e1a68d5f03a56903d0b42fa.tar.gz samba-ee3600361f24d7df7e1a68d5f03a56903d0b42fa.tar.bz2 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')
-rw-r--r-- | source3/sam/idmap_tdb.c | 2 |
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); } |