mirror of
https://github.com/samba-team/samba.git
synced 2024-12-22 13:34:15 +03:00
lib: Make dom_sid_string_buf static
Signed-off-by: Volker Lendecke <vl@samba.org> Reviewed-by: Jeremy Allison <jra@samba.org> Autobuild-User(master): Jeremy Allison <jra@samba.org> Autobuild-Date(master): Sat Nov 3 00:23:31 CET 2018 on sn-devel-144
This commit is contained in:
parent
7d958162bf
commit
c2b9b574b2
@ -429,7 +429,7 @@ bool dom_sid_is_valid_account_domain(const struct dom_sid *sid)
|
||||
string length. If it overflows, return the string length that would
|
||||
result (buflen needs to be +1 for the terminating 0).
|
||||
*/
|
||||
int dom_sid_string_buf(const struct dom_sid *sid, char *buf, int buflen)
|
||||
static int dom_sid_string_buf(const struct dom_sid *sid, char *buf, int buflen)
|
||||
{
|
||||
int i, ofs, ret;
|
||||
uint64_t ia;
|
||||
|
@ -99,7 +99,6 @@ bool dom_sid_in_domain(const struct dom_sid *domain_sid,
|
||||
bool dom_sid_is_valid_account_domain(const struct dom_sid *sid);
|
||||
|
||||
#define DOM_SID_STR_BUFLEN (15*11+25)
|
||||
int dom_sid_string_buf(const struct dom_sid *sid, char *buf, int buflen);
|
||||
char *dom_sid_string(TALLOC_CTX *mem_ctx, const struct dom_sid *sid);
|
||||
|
||||
struct dom_sid_buf { char buf[DOM_SID_STR_BUFLEN]; };
|
||||
|
Loading…
Reference in New Issue
Block a user