svn commit: samba r20644 - in branches: SAMBA_3_0/source/passdb
SAMBA_3_0_24/source/passdb
vlendec at samba.org
vlendec at samba.org
Wed Jan 10 07:56:44 GMT 2007
Author: vlendec
Date: 2007-01-10 07:56:43 +0000 (Wed, 10 Jan 2007)
New Revision: 20644
WebSVN: http://websvn.samba.org/cgi-bin/viewcvs.cgi?view=rev&root=samba&rev=20644
Log:
Make some functions static, thanks to Michael Adam <ma at sernet.de> for the hint.
Modified:
branches/SAMBA_3_0/source/passdb/secrets.c
branches/SAMBA_3_0_24/source/passdb/secrets.c
Changeset:
Modified: branches/SAMBA_3_0/source/passdb/secrets.c
===================================================================
--- branches/SAMBA_3_0/source/passdb/secrets.c 2007-01-10 02:49:40 UTC (rev 20643)
+++ branches/SAMBA_3_0/source/passdb/secrets.c 2007-01-10 07:56:43 UTC (rev 20644)
@@ -208,7 +208,7 @@
*
* @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 @@
*
* @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;
Modified: branches/SAMBA_3_0_24/source/passdb/secrets.c
===================================================================
--- branches/SAMBA_3_0_24/source/passdb/secrets.c 2007-01-10 02:49:40 UTC (rev 20643)
+++ branches/SAMBA_3_0_24/source/passdb/secrets.c 2007-01-10 07:56:43 UTC (rev 20644)
@@ -208,7 +208,7 @@
*
* @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 @@
*
* @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;
More information about the samba-cvs
mailing list