r20644: Make some functions static, thanks to Michael Adam <ma@sernet.de> for the...
authorVolker Lendecke <vlendec@samba.org>
Wed, 10 Jan 2007 07:56:43 +0000 (07:56 +0000)
committerGerald (Jerry) Carter <jerry@samba.org>
Wed, 10 Oct 2007 17:17:01 +0000 (12:17 -0500)
(This used to be commit f1f5d035db067b85e55b1c4009407b47dedcf975)

source3/passdb/secrets.c

index d169ffa32916f1ec509710d41f62c130baa9ef03..3ac3a93233877c1035a4d6bc810fef4184f16678 100644 (file)
@@ -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;