1
0
mirror of https://github.com/samba-team/samba.git synced 2025-02-02 09:47:23 +03:00

lib: Make get_share_security_default static

Reviewed-by: Christof Schmitt <cs@samba.org>
Reviewed-by: Volker Lendecke <vl@samba.org>
This commit is contained in:
Christof Schmitt 2020-09-11 10:19:15 -07:00 committed by Volker Lendecke
parent ff40135a7c
commit 8d34b6735f
2 changed files with 3 additions and 2 deletions

View File

@ -143,7 +143,6 @@ struct named_mutex *grab_named_mutex(TALLOC_CTX *mem_ctx, const char *name,
/* The following definitions come from lib/sharesec.c */
NTSTATUS share_info_db_init(void);
struct security_descriptor *get_share_security_default( TALLOC_CTX *ctx, size_t *psize, uint32_t def_access);
struct security_descriptor *get_share_security( TALLOC_CTX *ctx, const char *servicename,
size_t *psize);
NTSTATUS set_share_security(const char *share_name,

View File

@ -267,7 +267,9 @@ NTSTATUS share_info_db_init(void)
def_access is a GENERIC_XXX access mode.
********************************************************************/
struct security_descriptor *get_share_security_default( TALLOC_CTX *ctx, size_t *psize, uint32_t def_access)
static struct security_descriptor *get_share_security_default(TALLOC_CTX *ctx,
size_t *psize,
uint32_t def_access)
{
uint32_t sa;
struct security_ace ace;