summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2010-02-05 15:50:11 +0100
committerVolker Lendecke <vl@samba.org>2010-02-05 21:11:17 +0100
commitdcc850e3b30f84513c4b38dac88dffa19aac53cd (patch)
tree2ae78f38dc8204b545455882134579c8ce4345f5 /source3
parent004e3e400d0f404ffd9515c1f502c5287a4bff1c (diff)
downloadsamba-dcc850e3b30f84513c4b38dac88dffa19aac53cd.tar.gz
samba-dcc850e3b30f84513c4b38dac88dffa19aac53cd.tar.bz2
samba-dcc850e3b30f84513c4b38dac88dffa19aac53cd.zip
s3: Make guest_user_info() static
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/passdb/pdb_interface.c2
2 files changed, 1 insertions, 2 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 8a17039068..177c3334d9 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -4575,7 +4575,6 @@ struct event_context *pdb_get_event_context(void);
NTSTATUS make_pdb_method_name(struct pdb_methods **methods, const char *selected);
struct pdb_domain_info *pdb_get_domain_info(TALLOC_CTX *mem_ctx);
bool pdb_getsampwnam(struct samu *sam_acct, const char *username) ;
-bool guest_user_info( struct samu *user );
bool pdb_getsampwsid(struct samu *sam_acct, const DOM_SID *sid) ;
NTSTATUS pdb_create_user(TALLOC_CTX *mem_ctx, const char *name, uint32 flags,
uint32 *rid);
diff --git a/source3/passdb/pdb_interface.c b/source3/passdb/pdb_interface.c
index bd85ded138..130909e7fe 100644
--- a/source3/passdb/pdb_interface.c
+++ b/source3/passdb/pdb_interface.c
@@ -248,7 +248,7 @@ bool pdb_getsampwnam(struct samu *sam_acct, const char *username)
/**********************************************************************
**********************************************************************/
-bool guest_user_info( struct samu *user )
+static bool guest_user_info( struct samu *user )
{
struct passwd *pwd;
NTSTATUS result;