summaryrefslogtreecommitdiff
path: root/source
diff options
context:
space:
mode:
authorAndrew Tridgell <tridge@samba.org>2002-07-01 07:30:40 +0000
committerAndrew Tridgell <tridge@samba.org>2002-07-01 07:30:40 +0000
commite7f588d8156856109623b5f5a3841c5d096b1185 (patch)
treeb1f3b4de939803e148ad92c30e22ce59c31173ac /source
parent2dc539ed33f9893cbe9e16c386994933121b71e9 (diff)
downloadsamba-e7f588d8156856109623b5f5a3841c5d096b1185.tar.gz
ads_mod_ber should be static, not public
this fixes the huge number of struct berval warnings on non-ads compiles
Diffstat (limited to 'source')
-rw-r--r--source/libads/ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source/libads/ldap.c b/source/libads/ldap.c
index c95cb4ad905..1045b058125 100644
--- a/source/libads/ldap.c
+++ b/source/libads/ldap.c
@@ -678,8 +678,8 @@ ADS_STATUS ads_mod_strlist(TALLOC_CTX *ctx, ADS_MODLIST *mods,
* @param val The value to add - NULL means DELETE
* @return ADS STATUS indicating success of add
**/
-ADS_STATUS ads_mod_ber(TALLOC_CTX *ctx, ADS_MODLIST *mods,
- const char *name, const struct berval *val)
+static ADS_STATUS ads_mod_ber(TALLOC_CTX *ctx, ADS_MODLIST *mods,
+ const char *name, const struct berval *val)
{
const struct berval *values[2] = {val, NULL};
if (!val)