diff options
-rw-r--r-- | source3/include/proto.h | 1 | ||||
-rw-r--r-- | source3/lib/util_sid.c | 11 |
2 files changed, 0 insertions, 12 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h index 02463413517..d2f9986c244 100644 --- a/source3/include/proto.h +++ b/source3/include/proto.h @@ -467,7 +467,6 @@ bool is_setuid_root(void) ; /* The following definitions come from lib/util_sid.c */ char *sid_to_fstring(fstring sidstr_out, const struct dom_sid *sid); -char *sid_string_dbg(const struct dom_sid *sid); bool sid_linearize(uint8_t *outbuf, size_t len, const struct dom_sid *sid); bool non_mappable_sid(struct dom_sid *sid); char *sid_binstring_hex_talloc(TALLOC_CTX *mem_ctx, const struct dom_sid *sid); diff --git a/source3/lib/util_sid.c b/source3/lib/util_sid.c index 71a4800d602..57cd76c108d 100644 --- a/source3/lib/util_sid.c +++ b/source3/lib/util_sid.c @@ -40,17 +40,6 @@ char *sid_to_fstring(fstring sidstr_out, const struct dom_sid *sid) } /***************************************************************** - Useful function for debug lines. -*****************************************************************/ - -char *sid_string_dbg(const struct dom_sid *sid) -{ - char *result = dom_sid_string(talloc_tos(), sid); - SMB_ASSERT(result != NULL); - return result; -} - -/***************************************************************** Write a sid out into on-the-wire format. *****************************************************************/ |