summaryrefslogtreecommitdiff
path: root/source3
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
commit859b13577309912fc5b3591971412b2cb3a42f28 (patch)
treed0e567583dc660f9719f5c67e006c0179c346704 /source3
parentd4c3fd3d0df040e8c43c517033def9f635a2769c (diff)
downloadsamba-859b13577309912fc5b3591971412b2cb3a42f28.tar.gz
samba-859b13577309912fc5b3591971412b2cb3a42f28.tar.bz2
samba-859b13577309912fc5b3591971412b2cb3a42f28.zip
ads_mod_ber should be static, not public
this fixes the huge number of struct berval warnings on non-ads compiles (This used to be commit e7f588d8156856109623b5f5a3841c5d096b1185)
Diffstat (limited to 'source3')
-rw-r--r--source3/libads/ldap.c4
1 files changed, 2 insertions, 2 deletions
diff --git a/source3/libads/ldap.c b/source3/libads/ldap.c
index c95cb4ad90..1045b05812 100644
--- a/source3/libads/ldap.c
+++ b/source3/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)