From dcc850e3b30f84513c4b38dac88dffa19aac53cd Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Fri, 5 Feb 2010 15:50:11 +0100 Subject: s3: Make guest_user_info() static --- source3/include/proto.h | 1 - source3/passdb/pdb_interface.c | 2 +- 2 files changed, 1 insertion(+), 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; -- cgit