summaryrefslogtreecommitdiffstats
path: root/source/passdb
diff options
context:
space:
mode:
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/ldap.c1
-rw-r--r--source/passdb/nispass.c1
2 files changed, 2 insertions, 0 deletions
diff --git a/source/passdb/ldap.c b/source/passdb/ldap.c
index 59c6cd3d4ff..59b06d7e6fe 100644
--- a/source/passdb/ldap.c
+++ b/source/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/source/passdb/nispass.c b/source/passdb/nispass.c
index 4a2a7723d64..32cf42f95ba 100644
--- a/source/passdb/nispass.c
+++ b/source/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 */