diff --git a/libcli/security/security_descriptor.c b/libcli/security/security_descriptor.c index 28c68215b8a..ba142016389 100644 --- a/libcli/security/security_descriptor.c +++ b/libcli/security/security_descriptor.c @@ -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, diff --git a/libcli/security/security_descriptor.h b/libcli/security/security_descriptor.h index dd5d5f38049..7e6df87fefa 100644 --- a/libcli/security/security_descriptor.h +++ b/libcli/security/security_descriptor.h @@ -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,