From cf2febf3d1c591effc036a44eb0870aaf95c6848 Mon Sep 17 00:00:00 2001 From: Volker Lendecke Date: Sat, 21 Nov 2009 20:23:35 +0100 Subject: s3: Make alloc_sub_basic() static --- source3/lib/substitute.c | 7 +++++-- 1 file changed, 5 insertions(+), 2 deletions(-) (limited to 'source3/lib') diff --git a/source3/lib/substitute.c b/source3/lib/substitute.c index 55acdd95e3..64ef95a001 100644 --- a/source3/lib/substitute.c +++ b/source3/lib/substitute.c @@ -21,6 +21,9 @@ #include "includes.h" +static char *alloc_sub_basic(const char *smb_name, const char *domain_name, + const char *str); + userdom_struct current_user_info; fstring remote_proto="UNKNOWN"; @@ -544,8 +547,8 @@ char *talloc_sub_basic(TALLOC_CTX *mem_ctx, const char *smb_name, /**************************************************************************** ****************************************************************************/ -char *alloc_sub_basic(const char *smb_name, const char *domain_name, - const char *str) +static char *alloc_sub_basic(const char *smb_name, const char *domain_name, + const char *str) { char *b, *p, *s, *r, *a_string; fstring pidstr, vnnstr; -- cgit