summaryrefslogtreecommitdiff
path: root/source3
diff options
context:
space:
mode:
authorVolker Lendecke <vl@samba.org>2018-12-08 15:39:31 +0100
committerJeremy Allison <jra@samba.org>2018-12-11 00:40:31 +0100
commitda1d1e80772559f490887f131c2d02d94d681dd9 (patch)
treea85697b66853dd4c91a4ed88230dabe840faf373 /source3
parentf4ee95517e37cd7c6bf2a3de87bfefb432204828 (diff)
downloadsamba-da1d1e80772559f490887f131c2d02d94d681dd9.tar.gz
lib: Remove sid_string_tos
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org>
Diffstat (limited to 'source3')
-rw-r--r--source3/include/proto.h1
-rw-r--r--source3/lib/util_sid.c9
2 files changed, 0 insertions, 10 deletions
diff --git a/source3/include/proto.h b/source3/include/proto.h
index 75ce12de320..672fd04c6fc 100644
--- a/source3/include/proto.h
+++ b/source3/include/proto.h
@@ -469,7 +469,6 @@ bool is_setuid_root(void) ;
char *sid_to_fstring(fstring sidstr_out, const struct dom_sid *sid);
char *sid_string_talloc(TALLOC_CTX *mem_ctx, const struct dom_sid *sid);
char *sid_string_dbg(const struct dom_sid *sid);
-char *sid_string_tos(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 2ed968d7285..cd33c4fd27c 100644
--- a/source3/lib/util_sid.c
+++ b/source3/lib/util_sid.c
@@ -61,15 +61,6 @@ char *sid_string_dbg(const struct dom_sid *sid)
}
/*****************************************************************
- Use with care!
-*****************************************************************/
-
-char *sid_string_tos(const struct dom_sid *sid)
-{
- return sid_string_talloc(talloc_tos(), sid);
-}
-
-/*****************************************************************
Write a sid out into on-the-wire format.
*****************************************************************/