summaryrefslogtreecommitdiffstats
path: root/source/passdb
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
commitf1f5d035db067b85e55b1c4009407b47dedcf975 (patch)
tree86cd582b59161166aafca275bce7f90468d42a58 /source/passdb
parenta174b49173e7185abb89e605e667e64e8dd87454 (diff)
downloadsamba-f1f5d035db067b85e55b1c4009407b47dedcf975.tar.gz
samba-f1f5d035db067b85e55b1c4009407b47dedcf975.tar.xz
samba-f1f5d035db067b85e55b1c4009407b47dedcf975.zip
r20644: Make some functions static, thanks to Michael Adam <ma@sernet.de> for the hint.
Diffstat (limited to 'source/passdb')
-rw-r--r--source/passdb/secrets.c6
1 files changed, 3 insertions, 3 deletions
diff --git a/source/passdb/secrets.c b/source/passdb/secrets.c
index d169ffa3291..3ac3a932338 100644
--- a/source/passdb/secrets.c
+++ b/source/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;