summaryrefslogtreecommitdiff
diff options
context:
space:
mode:
authorVolker Lendecke <vlendec@samba.org>2007-01-10 07:56:43 +0000
committerGerald (Jerry) Carter <jerry@samba.org>2007-10-10 12:17:01 -0500
commit69272c9b046bca2d4cbfa8acd09a4e33c4b39b5d (patch)
tree84ffbd0ae1a73178a2257815119929e3ec567005
parent7050da81fe9d88af18e79816ab53a19f780fd4ad (diff)
downloadsamba-69272c9b046bca2d4cbfa8acd09a4e33c4b39b5d.tar.gz
samba-69272c9b046bca2d4cbfa8acd09a4e33c4b39b5d.tar.bz2
samba-69272c9b046bca2d4cbfa8acd09a4e33c4b39b5d.zip
r20644: Make some functions static, thanks to Michael Adam <ma@sernet.de> for the hint.
(This used to be commit f1f5d035db067b85e55b1c4009407b47dedcf975)
-rw-r--r--source3/passdb/secrets.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source3/passdb/secrets.c b/source3/passdb/secrets.c
index d169ffa329..3ac3a93233 100644
--- a/source3/passdb/secrets.c
+++ b/source3/passdb/secrets.c
@@ -208,7 +208,7 @@ BOOL secrets_fetch_domain_guid(const char *domain, struct GUID *guid)
*
* @return stored password's key
**/
-const char *trust_keystr(const char *domain)
+static const char *trust_keystr(const char *domain)
{
static fstring keystr;
@@ -427,8 +427,8 @@ static size_t tdb_trusted_dom_pass_pack(char* pack_buf, int bufsize,
*
* @return size of structure unpacked from buffer
**/
-size_t tdb_trusted_dom_pass_unpack(char* pack_buf, int bufsize,
- TRUSTED_DOM_PASS* pass)
+static size_t tdb_trusted_dom_pass_unpack(char* pack_buf, int bufsize,
+ TRUSTED_DOM_PASS* pass)
{
int idx, len = 0;