summaryrefslogtreecommitdiff
path: root/source3/passdb
diff options
context:
space:
mode:
authorJeremy Allison <jra@samba.org>1998-10-17 17:41:13 +0000
committerJeremy Allison <jra@samba.org>1998-10-17 17:41:13 +0000
commitfc62d6bf368c950e1e51bc42771cce8b299df42c (patch)
treedd94abd7d29279fe57050b702203538eaf345916 /source3/passdb
parent676cac1e42ecbc30fe6ded64751163c1c33466d1 (diff)
downloadsamba-fc62d6bf368c950e1e51bc42771cce8b299df42c.tar.gz
samba-fc62d6bf368c950e1e51bc42771cce8b299df42c.tar.bz2
samba-fc62d6bf368c950e1e51bc42771cce8b299df42c.zip
Small tidyups for gcc in 'preen' mode....
Jeremy. (This used to be commit 60dc1a4a00a22088d33369588b0d5eb292cf084a)
Diffstat (limited to 'source3/passdb')
-rw-r--r--source3/passdb/ldap.c1
-rw-r--r--source3/passdb/nispass.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source3/passdb/ldap.c b/source3/passdb/ldap.c
index 59c6cd3d4f..59b06d7e6f 100644
--- a/source3/passdb/ldap.c
+++ b/source3/passdb/ldap.c
@@ -993,5 +993,6 @@ struct passdb_ops *ldap_initialize_password_db(void)
}
#else
+ void dummy_function(void);
void dummy_function(void) { } /* stop some compilers complaining */
#endif
diff --git a/source3/passdb/nispass.c b/source3/passdb/nispass.c
index 4a2a7723d6..32cf42f95b 100644
--- a/source3/passdb/nispass.c
+++ b/source3/passdb/nispass.c
@@ -673,6 +673,7 @@ struct passdb_ops *nisplus_initialize_password_db(void)
}
#else
+ void nisplus_dummy_function(void);
void nisplus_dummy_function(void) { } /* stop some compilers complaining */
#endif /* WITH_NISPLUS */