mirror of
https://github.com/samba-team/samba.git
synced 2025-01-03 01:18:10 +03:00
lib: Remove unused security_descriptor_append()
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
This commit is contained in:
parent
b948b99c6c
commit
7aaefd6f46
@ -547,18 +547,6 @@ static struct security_descriptor *security_descriptor_appendv(struct security_d
|
||||
return sd;
|
||||
}
|
||||
|
||||
struct security_descriptor *security_descriptor_append(struct security_descriptor *sd,
|
||||
...)
|
||||
{
|
||||
va_list ap;
|
||||
|
||||
va_start(ap, sd);
|
||||
sd = security_descriptor_appendv(sd, false, ap);
|
||||
va_end(ap);
|
||||
|
||||
return sd;
|
||||
}
|
||||
|
||||
static struct security_descriptor *security_descriptor_createv(TALLOC_CTX *mem_ctx,
|
||||
uint16_t sd_type,
|
||||
const char *owner_sid,
|
||||
|
@ -48,8 +48,6 @@ bool security_descriptor_equal(const struct security_descriptor *sd1,
|
||||
bool security_descriptor_mask_equal(const struct security_descriptor *sd1,
|
||||
const struct security_descriptor *sd2,
|
||||
uint32_t mask);
|
||||
struct security_descriptor *security_descriptor_append(struct security_descriptor *sd,
|
||||
...);
|
||||
struct security_descriptor *security_descriptor_dacl_create(TALLOC_CTX *mem_ctx,
|
||||
uint16_t sd_type,
|
||||
const char *owner_sid,
|
||||
|
Loading…
Reference in New Issue
Block a user